Angular component and template model
Use this hub when you are working on how Angular renders UI and structures view logic.
Start with the basics
Section titled βStart with the basicsβ- Components and templates: components, templates, data binding, directives, pipes and lifecycle hooks on one page.
Then go deeper, in this order
Section titled βThen go deeper, in this orderβ- Input properties: signal and decorator inputs, transforms and required inputs.
- Templates: template syntax in depth.
- Control flow:
@if,@for,@switchand@defer. - Pipes: built-in and custom pipes, purity and performance.
- ContentChild and content projection
- Host binding: changing the host element from a component or directive.
- trackBy and list rendering
- Change detection:
OnPushby default, zoneless and signals.