forked from Archives/Athou_commafeed
add missing injection points
This commit is contained in:
@@ -82,7 +82,8 @@ module.directive('category', [ function() {
|
|||||||
restrict : 'E',
|
restrict : 'E',
|
||||||
replace : true,
|
replace : true,
|
||||||
templateUrl : 'directives/category.html',
|
templateUrl : 'directives/category.html',
|
||||||
controller : function($scope, $state, $dialog, FeedService,
|
controller : ['$scope', '$state', '$dialog', 'FeedService',
|
||||||
|
'CategoryService', 'SettingsService', function($scope, $state, $dialog, FeedService,
|
||||||
CategoryService, SettingsService) {
|
CategoryService, SettingsService) {
|
||||||
$scope.settingsService = SettingsService;
|
$scope.settingsService = SettingsService;
|
||||||
$scope.unsubscribe = function(subscription) {
|
$scope.unsubscribe = function(subscription) {
|
||||||
@@ -207,7 +208,7 @@ module.directive('category', [ function() {
|
|||||||
collapse : !category.expanded
|
collapse : !category.expanded
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}]
|
||||||
};
|
};
|
||||||
} ]);
|
} ]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user