How to create custom directives in AngularJS?
Answer Posted / pankajbisane
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
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is angular 2 and typescript?
Explain ng-hide directive?
Can you please explain the difference between angular.js and backbone.js?
What is the difference between angular and react?
How to set headers for every request in angular?
Explain currency filter?
What are the methods available in $http ?
How to setup and create angular services?
What is ng stand for?
What is feature modules?
What is factory method?
How can I be lazy?
Explain what is scope in angularjs?
What is difference between ng bind and expression?
Why angularjs?