Skip to content

Glossary: Angular Basics

@Component

Also written: Component decorator

The decorator that turns a TypeScript class into an Angular component. It takes a metadata object with the selector, template, styles and imports.

Where the book teaches it