How DOM Structure Affects Text Interpolation Watchers In AngularJS

added by JavaScript Kicks
10/27/2014 4:48:21 PM

283 Views

I spend a lot of time thinking about how to improve the performance of my AngularJS apps. Not in a "premature optimization" way - more like in a "customers are complaining" kind of way. As such, I like to stop and noodle on any aspect of the code that may be leveraged for better performance. This morning, I wanted to quickly look at how your DOM (Document Object Model) structure affects text interpolation in AngularJS and how text interpolation affects the number of $watch() bindings on the page.


0 comments