title: Angularjs disabling debug data in production
body: <p>I'm trying to disable debug data in production server as suggested in the angular docs <a href="https://docs.angularjs.org/guide/production" rel="nofollow">here</a>. Adding that I don't really see any improvement in performance and loading time. Here is how my code look in app.js. Is it the right way to do it?</p>
  
  <pre><code>angular.module('myApp',['toaster','ui.router','ui.bootstrap','myApp.controllers','myApp.directives','myApp.filters','myApp.services'])
  .config(['$compileProvider', function ($compileProvider) {
    $compileProvider.debugInfoEnabled(false);
  }]);
  </code></pre>
  
  <p>Is there a way to check if debug info is disabled?</p>