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
Angular 22 · Signals and services
Subscribe and unsubscribe automatically.
@if (users$ | async; as users) {
<p>{{ users.length }} users</p>
}
Official Angular 22 documentation
Was this page helpful?