Disable Angular debugging, should improve perfs

This commit is contained in:
Gaël Métais
2016-07-10 10:41:56 +08:00
parent 5ccab1770b
commit a9adb3bb06
+4
View File
@@ -82,3 +82,7 @@ yltApp.config(['$routeProvider', '$locationProvider',
}
]);
// Disable debugging https://docs.angularjs.org/guide/production
yltApp.config(['$compileProvider', function ($compileProvider) {
$compileProvider.debugInfoEnabled(false);
}]);