2
Answers

when do we need to create custom directives in angular?

Photo of Amit Pandey

Amit Pandey

3y
639
1

ngFor, ngIf, ngSwitch :- structural or

ngClass, ngStyle :- attribute

What are the things that we can't do with the above mentioned directive? And there will be a real need of custom directive? 

Answers (2)