pętla kątowa poprzez kluczowe wartości na mapie
this.map.forEach((value: string, key: string) => {
console.log(key, value);
});
Juice WRLD
this.map.forEach((value: string, key: string) => {
console.log(key, value);
});
<ul>
<li *ngFor="let recipient of map | keyvalue">
{{recipient.key}} --> {{recipient.value}}
</li>
</ul>