'use strict';

(function() {
  angular.module('ncsaas')
    .config(['$translateProvider', function($translateProvider) {
        $translateProvider.useLocalStorage();
        $translateProvider.useStaticFilesLoader({
            prefix: 'static/js/i18n/locale-',
            suffix: '.json'
        });
    }]);

  angular.module('ncsaas')
    .value('LANGUAGE', {
        CHOICES: [
            {code: 'en', label: 'English'}
        ],
        DEFAULT: 'en'
    });
})();

'use strict';

(function() {
  angular.module('ncsaas')
    .config(['$translateProvider', function($translateProvider) {
        $translateProvider.useLocalStorage();
        $translateProvider.useStaticFilesLoader({
            prefix: 'static/js/i18n/locale-',
            suffix: '.json'
        });
        $translateProvider.useSanitizeValueStrategy('escaped');
    }]);

  angular.module('ncsaas')
    .value('LANGUAGE', {
        CHOICES: [
            {code: 'en', label: 'English'}
        ],
        DEFAULT: 'en'
    });
})();

Add sanitization strategy to translation
Add sanitization strategy to translation

- SAAS-402
