Angular 22 · Signals and services

Show an observable in a template

Subscribe and unsubscribe automatically.

@if (users$ | async; as users) {
  <p>{{ users.length }} users</p>
}

Official Angular 22 documentation

More signals and services commands

All signals and services commands · Angular 22 cheatsheet

Was this page helpful?