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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -