What is link function in angularjs?



What is link function in angularjs?..

Answer / Shailesh Maheshwari

"The link function in AngularJS is responsible for connecting the controller (which holds application data) with the view (which displays the data). The link function is called when an element is compiled and linked, and it performs operations such as updating the DOM based on the data in the controller."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How http client is interact with angular 2 servers?

1 Answers  


Which version you are using js?

0 Answers  


What's new features in angular 5?

1 Answers  


What is angular cli json?

1 Answers  


What is router state in angular 2?

1 Answers  


What do you understand by linking function?

1 Answers  


What classes should I add to module's declarations?

1 Answers  


What is local reference in angular?

1 Answers  


Distinguish between angularjs and javascript expressions.

1 Answers  


What is dependency injection (di) in angular?

1 Answers  


What is directives?

1 Answers  


What is link function in angularjs?

1 Answers  


Categories