Disable Angular debug info (should improve performance)

This commit is contained in:
Arik Fraimovich 2017-06-29 12:11:34 +03:00
parent 831dfe6c8d
commit f64769cc80

View File

@ -100,6 +100,7 @@ registerVisualizations(ngModule);
ngModule.config(($routeProvider, $locationProvider, $compileProvider,
uiSelectConfig, toastrConfig) => {
$compileProvider.debugInfoEnabled(false);
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|data):/);
$locationProvider.html5Mode(true);
uiSelectConfig.theme = 'bootstrap';