ngfor object map code example
Example: angular loop through key values in map
this.map.forEach((value: string, key: string) => {
console.log(key, value);
});
this.map.forEach((value: string, key: string) => {
console.log(key, value);
});