compileis used for transforming template,linkis used after template is cloned- If
compileis existing,linkis not effect (be not called)- If
compilereturn object, order of functions are called:compile > controller > pre > post - If
compilereturn function (post-link), is equivalent tolinkfunction, order of functions are called:compile > controller > post
- If
- If
compileis ommitted,controller > link
Last active
August 29, 2015 14:26
-
-
Save khoand0000/1519256032bc7b53240a to your computer and use it in GitHub Desktop.
Relation with compile (pre, post), controller, link when defining directive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment