diff --git a/app/pages/categories/view.html b/app/pages/categories/view.html index 0481886..143b85a 100644 --- a/app/pages/categories/view.html +++ b/app/pages/categories/view.html @@ -1,2 +1,177 @@ -
-

You've reached pages/categories/view.html.

+
+
+
+
    +
  • +
    CATEGORY NAME
    +
    +
    +
    + +
    +
    +
    +
    +

    Nutrients

    +
    +
    +
    +
    +
    +
    +

    Sugar

    +
    + + +
    +
    + + +
    +
    +
    +

    Sodium

    +
    + + +
    +
    + + +
    +
    +
    +

    Saturated Fat

    +
    + + +
    +
    + + +
    +
    +
    +
    +
    +

    Sugar

    +
    + + +
    +
    + + +
    +
    +
    +

    Sodium

    +
    + + +
    +
    + + +
    +
    +
    +

    Saturated Fat

    +
    + + +
    +
    + + +
    +
    +
    +
    +
    +
  • +
+

I'd put more, but then I'd have to change lots of ID's... you get the idea #lazydev

+
+
+
+
+ Filter +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+
+
+
+
+
+
+ + diff --git a/assets/js/bundle.js b/assets/js/bundle.js index bb2b71b..abfe063 100644 --- a/assets/js/bundle.js +++ b/assets/js/bundle.js @@ -100,6 +100,15 @@ app.controller('404Ctrl', ['$scope', function ($scope) { }]); +app.controller('LoginCtrl', ['$scope', function ($scope) { + $scope.page.title = 'Login'; + $scope.page.id = 'login'; + $scope.page.yourVar = "globalStuff"; + + $scope.var2 = "localStuff"; +}]); + + app.controller('FoodCtrl', ['$scope', function ($scope) { $scope.page.title = 'Food'; $scope.page.id = 'food'; @@ -116,12 +125,3 @@ app.controller('CategoryCtrl', ['$scope', function ($scope) { $scope.var2 = "localStuff"; }]); - - -app.controller('LoginCtrl', ['$scope', function ($scope) { - $scope.page.title = 'Login'; - $scope.page.id = 'login'; - $scope.page.yourVar = "globalStuff"; - - $scope.var2 = "localStuff"; -}]);