2017-01-31 13:13:06 +00:00
|
|
|
import {module} from './module';
|
|
|
|
|
|
|
|
config.$inject = ['$translatePartialLoaderProvider', '$httpProvider'];
|
|
|
|
export function config($translatePartialLoaderProvider, $httpProvider) {
|
2017-01-31 15:09:46 +00:00
|
|
|
$translatePartialLoaderProvider.addPart('auth');
|
2017-01-31 13:13:06 +00:00
|
|
|
|
|
|
|
$httpProvider.defaults.useXDomain = true;
|
|
|
|
delete $httpProvider.defaults.headers.common['X-Requested-With'];
|
|
|
|
}
|
|
|
|
module.config(config);
|