iterating a map in angular and table code example
Example 1: ngfor on keys of a dictionary angular
<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);
});