We have an customers$:Observable<string[]>
that we want to iterate over in our Angular template.
Approach
<ul>
<li *ngFor="let customer of customers$ | async; index as i">
{{ customer.name }}
</li>
</ul>
We have an customers$:Observable<string[]>
that we want to iterate over in our Angular template.
<ul>
<li *ngFor="let customer of customers$ | async; index as i">
{{ customer.name }}
</li>
</ul>