AngularJS Developer Question:
Download Questions PDF

Tell me is AngularJS extensible?

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain routing in AngularJS?Tell me how $scope.$apply() works?