How to create custom directives in AngularJS?
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 |
Define factory method in angularjs.
what is directive and mention what are the different types of directive?
Explain what is the difference between link and compile in angular.js?
What is ivy compiler?
How to setup and create angular services?
How to create a service in angular?
What is injectors?
Is it possible to have two ng-app directives for a single angular application?
What is the use of ngfor directive in angular?
What are the two ways to use currency filters?
What is transclusion in angularjs?
What is $interval service in AngularJS?