Is angular 4 services which traverse the DOM looking for attributes?
Yes, angular 4 services is a compiler which transverse the DOM looking for attributes. The process of compilation is partitioned into two phases namely-
Compile- means to traverse the DOM and gather all directives such as ng-repeat.
Link- means to produce a live view by combining the directives with a scope.