From 06f86a992ac1ab14c971d3aca4ae919abfc55226 Mon Sep 17 00:00:00 2001 From: Athou Date: Sun, 28 Apr 2013 11:29:41 +0200 Subject: [PATCH] add missing injection points --- src/main/webapp/js/directives.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index 2f96be77..83e9fb34 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -82,7 +82,8 @@ module.directive('category', [ function() { restrict : 'E', replace : true, templateUrl : 'directives/category.html', - controller : function($scope, $state, $dialog, FeedService, + controller : ['$scope', '$state', '$dialog', 'FeedService', + 'CategoryService', 'SettingsService', function($scope, $state, $dialog, FeedService, CategoryService, SettingsService) { $scope.settingsService = SettingsService; $scope.unsubscribe = function(subscription) { @@ -207,7 +208,7 @@ module.directive('category', [ function() { collapse : !category.expanded }); }; - } + }] }; } ]);