Browse Source

Disable Angular debugging, should improve perfs

Gaël Métais 9 years ago
parent
commit
a9adb3bb06
1 changed files with 4 additions and 0 deletions
  1. 4 0
      front/src/js/app.js

+ 4 - 0
front/src/js/app.js

@@ -82,3 +82,7 @@ yltApp.config(['$routeProvider', '$locationProvider',
     }
 ]);
 
+// Disable debugging https://docs.angularjs.org/guide/production
+yltApp.config(['$compileProvider', function ($compileProvider) {
+    $compileProvider.debugInfoEnabled(false);
+}]);