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 |
What is deep linking in angular 4?
In which language, angularjs is written?
Difference between service, directive, and module?
Is angular asynchronous?
What is an async pipe?
What is component in angular?
Can digest cycle be forced to run manually?
What are the key components of angular 2?
What is the difference between a unit and end-to-end (e2e) test in angularjs?
List of useful ionic 3 cli commands?
What is aot and jit in angular?
What is data in angular?