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 difference between factory service and provider in angularjs?
Explain component metadata?
What is a provider in angular?
Global variables in angularjs?
What companies are using angular?
What is main ts file?
How can someone make an ajax call using angularjs?
Is it a good or bad practice to use angular js together with jquery?
How to initiate variable in angularjs?
Why should use angular js?
Explain The Concept Of Scope Hierarchy? How Many Scopes Can An Application Have?
Is angular 7 released?
How do you identify a structural directive in html?
What is the difference between a module’s forroot() and fairchild() methods and why do you need it?
What is digest cycle?