Merge config functions.
This commit is contained in:
parent
86911c106d
commit
feef3d825c
@ -89,12 +89,10 @@ var loginModule = angular.module('accountant.login', [
|
|||||||
return sessionInjector;
|
return sessionInjector;
|
||||||
})
|
})
|
||||||
|
|
||||||
.config(function($httpProvider) {
|
.config(function($httpProvider, $storageProvider) {
|
||||||
// Define interceptors.
|
// Define interceptors.
|
||||||
$httpProvider.interceptors.push('sessionInjector');
|
$httpProvider.interceptors.push('sessionInjector');
|
||||||
})
|
|
||||||
|
|
||||||
.config(function($storageProvider) {
|
|
||||||
// Configure storage
|
// Configure storage
|
||||||
// Set global prefix for stored keys
|
// Set global prefix for stored keys
|
||||||
$storageProvider.setPrefix('accountant');
|
$storageProvider.setPrefix('accountant');
|
||||||
|
Loading…
Reference in New Issue
Block a user