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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -