I am currently looking for a software/web development job preferably as a Rails-based developer.
Please email me at weston@westonganger.com. Thanks in advance for any leads!

Increase Your Performance In Production With AngularJS

Posted by Weston Ganger

There are two things you should do with your AngularJS 1.x app before deploying to production to increase your performance.

First we need to disable debugging data.

/* app.js */

yourApp.config(['$compileProvider'], function($compileProvider){

Secondly we should turn on strict-di mode to get performance increases to dependency injection.

<div ng-app="yourApp" ng-strict-di>
  <!-- etc. -->

Related External Links:

Article Topic:Software Development - Angular

Date:May 10, 2016

Recommended Posts