fix translations not loaded correctly

This commit is contained in:
Athou
2014-08-22 20:17:13 +02:00
parent 574d4a1223
commit 04943ca525
3 changed files with 37 additions and 6 deletions

View File

@@ -13,12 +13,6 @@ app.config([
function($routeProvider, $stateProvider, $urlRouterProvider, $httpProvider, $compileProvider, cfpLoadingBarProvider,
$translateProvider) {
// ie ajax cache workaround
if (!$httpProvider.defaults.headers.get) {
$httpProvider.defaults.headers.get = {};
}
$httpProvider.defaults.headers.get['If-Modified-Since'] = '0';
$translateProvider.useStaticFilesLoader({
prefix : 'i18n/',
suffix : '.js'