<h2>Names</h2>
    <div *ngFor="let user of users | async">{{ user.name }}</div>
    <h2>Ages</h2>
    <div *ngFor="let user of users | async">{{ user.age }}</div>
    <h2>Genders</h2>
    <div \*ngFor="let user of users | async">{{ user.gender }}</div>
  •  None. The async pipe does not subscribe automatically.
  •  None. The template syntax is not correct.
  •  Three. There is one for each async pipe.
  •  One. The async pipe caches Observables by type internally.

By Neha S

Leave a Reply

Your email address will not be published.