Created
January 22, 2015 07:14
-
-
Save gdumitrescu/0da0cafee84187dfeac6 to your computer and use it in GitHub Desktop.
AngularJS 1.3 performance optimizations - http://blog.thoughtram.io/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
angular | |
.module('app', []) | |
.config(function($httpProvider) { | |
// deferring the resolution of XHR calls to the next tick | |
$httpProvider.useApplyAsync(true); | |
}) | |
.config(['$compileProvider', function($compileProvider) { | |
// disable debug info and .reloadWithDebugInfo() method | |
$compileProvider.debugInfoEnabled(false); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment