Angular 22 · Signals and services
Load data with a resource
Load async data into signals that track loading and error state.
users = httpResource<User[]>(() => '/api/users');
Official Angular 22 documentation
Angular 22 · Signals and services
Load async data into signals that track loading and error state.
users = httpResource<User[]>(() => '/api/users');
Official Angular 22 documentation
Was this page helpful?