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 string interpolation?
What is provider in angular 2?
What is nginclude?
Compare the features of AngularJS and jQuery?
What is the use of $locale service in angularjs?
What companies are using angular?
What is horizontal projection?
What do you understand by $watch?
Mention what are the styling form that model adds to css classes?
What are the differences between service and factory methods?
Is primefaces free?
What is the use of canactivate in angular?
What is a locale ID?
Who created angular js ?
Does Angular use the jQuery library?