0

I am a bit confused about the line taken from Angular JS official documentation:

Compile: traverse the DOM and collect all of the directives. The result is a linking function.

I am not clear about what linking functions are?

Are they talking about link function that we write in a custom directive?

Please clarify using an example.

3
  • Maybe. Can you provide a link to the specific part of the documentation you are referring to? Commented Mar 27, 2017 at 19:35
  • here is the link for official Angular JS documentation: docs.angularjs.org/guide/compiler Commented Mar 28, 2017 at 5:10
  • See THIS Example on PLNKR Commented Mar 28, 2017 at 9:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.