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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -