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
Post a Comment