From 0268280a73fa020811aaac5281d8fccc3f773cb2 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 8 Jul 2017 00:17:37 +0200 Subject: [PATCH] Rename factory to service. --- src/login/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();