Explain different types of component decorators In Angular 4?
In Angular 4, there are four types of component decorators:
- Class decorators
- Property decorators – used for properties inside classes
- Method decorators – used for methods inside classes
- Parameter decorators – used for parameters inside class constructors
This information is usually asked in interview questions on Angular 4.
Suggest An Answer
No suggestions Available!