Templates and control flow blocks

Angular templates combine HTML with the framework's own syntax: {{ }} interpolation, property bindings [prop] and event bindings (event). The @if, @for and @switch control flow blocks replace the older structural directives to handle conditions and loops.

Example

@for (t of taches; track t.id) {
  <li>{{ t.titre }}</li>
}

Related concepts

The whole glossary