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 core/index defined in core/src/metadata/directives.ts