AngularJS – Directive compile, pre-link, post-link, controller functions
In this post we will look into the compile and link functions of angular directives. Angular directives are very powerful if used properly. Compile and Link are basic directive functions which need to be understood properly to use angular directives efficiently.