Skip to content

Glossary: Angular Beyond the Basics

Control flow

Also written: @if, @for, @switch, *ngIf, *ngFor

The template blocks `@if`, `@for` and `@switch` that show, repeat or choose parts of a page. They replace the older `*ngIf`, `*ngFor` and `*ngSwitch`, which the `control-flow` migration converts.

Where the book teaches it

Related terms

Migrationtrack