Jan 15 in Angular
Q: What is the difference between a link and compile in Angular?

1 Answer

Jan 15

Compile function is used for template DOM Manipulation and to collect all the directives.

Link function is used for registering DOM 

eners as well as instance DOM manipulation and is executed once the template has been cloned.

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Jan 6 in Angular
Nov 12, 2019 in DevOps
Jan 15 in Angular