added missing injection points

This commit is contained in:
Athou
2013-04-23 12:03:17 +02:00
parent d6597d8cdd
commit f705faf7ac

View File

@@ -511,9 +511,8 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
});
}]);
module.controller('ManageUsersCtrl', ['$scope', '$state', '$location',
function($scope, $state, $location,
AdminUsersService) {
module.controller('ManageUsersCtrl', ['$scope', '$state', '$location', 'AdminUsersService',
function($scope, $state, $location, AdminUsersService) {
$scope.users = AdminUsersService.getAll();
$scope.selection = [];
$scope.gridOptions = {
@@ -536,8 +535,7 @@ function($scope, $state, $location,
}]);
module.controller('ManageUserCtrl', ['$scope', '$state', '$stateParams', '$dialog', 'AdminUsersService',
function($scope, $state, $stateParams,
$dialog, AdminUsersService) {
function($scope, $state, $stateParams, $dialog, AdminUsersService) {
$scope.user = $stateParams._id ? AdminUsersService.get({
id : $stateParams._id
}) : {
@@ -631,8 +629,7 @@ function($scope, $location, ProfileService) {
}]);
module.controller('ManageSettingsCtrl', ['$scope', '$location', '$state', 'AdminSettingsService',
function($scope, $location, $state,
AdminSettingsService) {
function($scope, $location, $state, AdminSettingsService) {
$scope.settings = AdminSettingsService.get();