Angular Async Pipe with Observable

preview_player
Показать описание
Angular Async Pipe with Observable .
Wait for a callback.

Store the result of the callback is a variable.

Bind to that variable in the template.

It's will For Observable it automatically subscribes to the observable, renders the output and then unsubscribes when the component is destroyed .
Рекомендации по теме