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', module.controller('ManageUsersCtrl', ['$scope', '$state', '$location', 'AdminUsersService',
function($scope, $state, $location, function($scope, $state, $location, AdminUsersService) {
AdminUsersService) {
$scope.users = AdminUsersService.getAll(); $scope.users = AdminUsersService.getAll();
$scope.selection = []; $scope.selection = [];
$scope.gridOptions = { $scope.gridOptions = {
@@ -536,8 +535,7 @@ function($scope, $state, $location,
}]); }]);
module.controller('ManageUserCtrl', ['$scope', '$state', '$stateParams', '$dialog', 'AdminUsersService', module.controller('ManageUserCtrl', ['$scope', '$state', '$stateParams', '$dialog', 'AdminUsersService',
function($scope, $state, $stateParams, function($scope, $state, $stateParams, $dialog, AdminUsersService) {
$dialog, AdminUsersService) {
$scope.user = $stateParams._id ? AdminUsersService.get({ $scope.user = $stateParams._id ? AdminUsersService.get({
id : $stateParams._id id : $stateParams._id
}) : { }) : {
@@ -631,8 +629,7 @@ function($scope, $location, ProfileService) {
}]); }]);
module.controller('ManageSettingsCtrl', ['$scope', '$location', '$state', 'AdminSettingsService', module.controller('ManageSettingsCtrl', ['$scope', '$location', '$state', 'AdminSettingsService',
function($scope, $location, $state, function($scope, $location, $state, AdminSettingsService) {
AdminSettingsService) {
$scope.settings = AdminSettingsService.get(); $scope.settings = AdminSettingsService.get();