Angular

What it does

Marks a class as an Angular component and collects component configuration metadata.

How to use

.

@Component({selector: 'greet', template: 'Hello {{name}}!'}) class Greet { name: string = 'World'; }

Description

exported from @angular/core/index defined in @angular/core/src/metadata/directives.ts