filmov
tv
Chapter 6 | NgModule | Angular Tutorial

Показать описание
Decorator is a special declaration that can be attached to a class, method, property and parameter.
Decorator defines the intent and stores Metadata about the cass, method, property and parameter.
There are four types of decorator’s:
Class decorator ex. @NgModule, @Component
Method decorator ex. @HostListener
Property decorator ex. @Input
Parameter decorator ex. @Inject
Decorator defines the intent and stores Metadata about the cass, method, property and parameter.
There are four types of decorator’s:
Class decorator ex. @NgModule, @Component
Method decorator ex. @HostListener
Property decorator ex. @Input
Parameter decorator ex. @Inject