Creating Components in Angular
Generate components with the CLI and declare/import them correctly.
Generate components with the CLI and declare/import them correctly.
Read @Component metadata: selector, imports, templateUrl, styleUrl.
Understand creation, change detection, and destruction phases.
Describe object shapes with interface and type aliases.
Get comfortable with TS types, classes, and modules used everywhere in Angular.
Use string, number, boolean, arrays, unions, and any/unknown wisely.
Type parameters/returns and model domain objects with classes.
Understand modules/standalone apps, components, services, and the injector tree.