From feef3d825c1a6011fa61378fed10d734d78c549b Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 11 Jun 2017 08:07:48 +0200 Subject: [PATCH] Merge config functions. --- src/login/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/login/index.js b/src/login/index.js index a6fc331..cc8ef35 100644 --- a/src/login/index.js +++ b/src/login/index.js @@ -89,12 +89,10 @@ var loginModule = angular.module('accountant.login', [ return sessionInjector; }) -.config(function($httpProvider) { +.config(function($httpProvider, $storageProvider) { // Define interceptors. $httpProvider.interceptors.push('sessionInjector'); -}) -.config(function($storageProvider) { // Configure storage // Set global prefix for stored keys $storageProvider.setPrefix('accountant');