Difference between directive and pipe in angular?
Answer / Pankaj Dipankal
Directives are used to modify the behavior of existing HTML elements, whereas Pipes are used to format data within expressions. Directives can be used for many things such as creating custom widgets, managing component lifecycle, and handling events. Pipes are mainly used for filtering, sorting, and transforming data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is angular 7 is stable?
How can we share the data between controllers in angularjs?
Explain ng-controller directive ?
What is the meaning of material design?
what is the difference between one-way binding and two-way binding in angularjs?
Compare the features of AngularJS and jQuery?
What is change detection strategy in angular?
What are decorators?
Explain ngfor and ngif?
What are the types of linking function?
What is the difference between angular 1(angularjs) and angular?
How to initialize a select box with options on page load in angular js?