
What are compile & link options in Custom directives?
Understanding the compile vs. link
option is one of the more advanced topics across Angular, and it gives
us a feel how actually Angular works. Out of both the functions, link function is used very often. Basically, both are mutually exclusive, i.e., if both the options are set,...