From f705faf7acf16857ca664ae2d096b312d4b1823e Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 23 Apr 2013 12:03:17 +0200 Subject: [PATCH] added missing injection points --- src/main/webapp/js/controllers.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index b18befa3..ee7cca2d 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -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();