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 |
How do you use ng value?
Explain the types of linking function?
What is $log Service?
How to delete a row in angular js?
How AngularJS expressions are different from the JavaScript expressions?
What is dependency injection and how does it work?
Why angular is so popular?
What is the difference between ng-model and ng-bind in angularjs?
What is mobile angular ui?
What is angulars performance like?
What are AngularJS features? 15
What is a function decorator?