add missing injection points

This commit is contained in:
Athou
2013-04-28 11:29:41 +02:00
parent 7f979e2310
commit 06f86a992a

View File

@@ -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
});
};
}
}]
};
} ]);