Rename factory to service.

This commit is contained in:
Alexis Lahouze 2017-07-08 00:17:37 +02:00
parent 9a7d3938aa
commit 0268280a73

View File

@ -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();