Being bit confused as per the following 2 blogs:
I. Eric W Green - Toptal https://www.toptal.com/angular-js/angular-js-demystifying-directives
Order of execution
Compile -> Controller -> PreLink -> PostLink
II. JsonMore http://jasonmore.net/angular-js-directives-difference-controller-link/
Order of execution
Controller -> Compile -> PreLink -> PostLink
The answer to complex problem difference between controller & link is given here -- use code in controller if required before compile OR write in link if code to be run after compile.
But, blog 1 says both run after compilation. Please, suggest which one is correct?