angular map in html code example
Example 1: ngfor object
<div *ngFor="let item of testObject | keyvalue">
Key: <b>{{item.key}}</b> and Value: <b>{{item.value}}</b>
</div>
Example 2: angular loop through key values in map
this.map.forEach((value: string, key: string) => {
console.log(key, value);
});