Перейти к основному содержимому
0

Этот урок пока на английском.

A class with a template

Every piece of an Angular screen is a component: a TypeScript class plus a template and styles. The @Component decorator tells Angular how to show it.