Merge config functions.
This commit is contained in:
parent
86911c106d
commit
feef3d825c
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user