pdonorio / restangulask

FRONTEND(Flask and Angular interface) + BACKEND(Flask Rest API)
MIT License
3 stars 2 forks source link

Angular performance in production #15

Open pdonorio opened 8 years ago

pdonorio commented 8 years ago

We must pay attentions to details.

An example: https://medium.com/swlh/improving-angular-performance-with-1-line-of-code-a1fb814a6476#.60xbcmm2y (better explained here)

pdonorio commented 8 years ago

Official docs say: https://docs.angularjs.org/guide/production

pdonorio commented 8 years ago

Also more tips here: http://www.gros-engineering.com/angularjs-performance-tweaks

pdonorio commented 8 years ago

@mdantonio we may already convert to the first post in "Disabling Debug Data". That is used from tests and the chrome batarang which we do not use...

We just need:

angular.module('web')
    .config(['$compileProvider', function ($compileProvider) {
      $compileProvider.debugInfoEnabled(false);
    }]);

in common.run.js?