I am trying to disable debugging data on a production server as suggested in angular docs here . Adding that I see no improvement in performance and load time. This is what my code looks like in app.js. Is this right to do?
angular.module('myApp',['toaster','ui.router','ui.bootstrap','myApp.controllers','myApp.directives','myApp.filters','myApp.services']) .config(['$compileProvider', function ($compileProvider) { $compileProvider.debugInfoEnabled(false); }]);
Is there a way to check if debugging information is disabled?
source share