AngularJS Developer Question:

Tell me is AngularJS extensible?

Tweet Share WhatsApp

Answer:

Yes! In AngularJS we can create custom directive to extend AngularJS existing functionalities.

Custom directives are used in AngularJS to extend the functionality of HTML. Custom directives are defined using "directive" function. A custom directive simply replaces the element for which it is activated. AngularJS application during bootstrap finds the matching elements and do one time activity using its compile() method of the custom directive then process the element using link() method of the custom directive based on the scope of the directive.

Download AngularJS Developer PDF Read All 125 AngularJS Developer Questions
Previous QuestionNext Question
Explain routing in AngularJS?Tell me how $scope.$apply() works?