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 a pure pipe?
What is the difference between $scope and scope in angular?
How to write expression in angularjs?
What are the components of a css style?
Which service does the html $compile service use for the purpose of data binding?
What are differences between angular 4 and angular 2?
What is [( ngmodel )]?
What is @output in angular?
What is the use of typescript in angular2?
What is the difference between angular 7 and angular 8?
Can we use the open-source closure library with angular?
What is binding in js?