angularjs - where in angular.js source code is dom traversal? -


i assuming angular.js traverses dom on 'domcontentloaded' event (or that). that's way know angular find arbitrary locations of ng- attributes. also, example here (https://angularjs.org/#the-basics) looks angular js dynamically finds locations of {{ in page, traverse every single text node , search string?

is how angular accomplishes magic? if so, in angular.js source code happen?

the {{ or }} part of angular's interpolation. if search in angular.js file interpolateprovider, lot of comments information regarding this.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -