1.

Differentiate between compile and link in AngularJS?

Answer»

Compile is like a service used for TRAVERSING the HTML to find all the DIRECTIVES and return link functions.
The link does the task of combining the model with a view where any changes made to the model are REFLECTED in the view and VICE versa.
More information on compile and link can be found here.



Discussion

No Comment Found