Chapter 7. Screaming Fast AngularJS
In this chapter, we will cover the following recipes:
- Recognizing AngularJS landmines
- Creating a universal watch callback
- Inspecting your application's watchers
- Deploying and managing
$watch
types efficiently - Optimizing the application using reference
$watch
- Optimizing the application using equality
$watch
- Optimizing the application using
$watchCollection
- Optimizing the application using
$watch
deregistration - Optimizing template-binding watch expressions
- Optimizing the application with the compile phase in
ng-repeat
- Optimizing the application using track by in
ng-repeat
- Trimming down watched models
Introduction
As with most technologies, in AngularJS, the devil is in the details.
In general, the lion's share of encounters ...
Get AngularJS Web Application Development Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.