diff --git a/src/login/index.js b/src/login/index.js index 69f3a63..9723cfa 100644 --- a/src/login/index.js +++ b/src/login/index.js @@ -37,7 +37,7 @@ module.exports = angular.module('accountant.login', [ ngUiBootstrap ]) - .factory('LoginService', function($uibModal, $storage, $document, $log, authService) { + .service('LoginService', function($uibModal, $storage, $document, $log, authService) { var login = function () { $storage.session.clear();