
Angualr
The web development framework for building modern apps.
What is the purpose of the async
pipe?
The async
pipe automatically subscribes to observables and promises, returning the latest value and unsubscribing when the component is destroyed.
<p>{{ data$ | async }}</p>
/ 25