Skip to content

Glossary: Angular Basics

@switch

Also written: *ngSwitch

A control flow block that picks one piece of template by comparing a value against `@case` blocks, like a `switch` statement.

Where the book teaches it

Related terms

@case / @default