how to iterate objects inside object using ngfor code example
Example 1: iterate object ngfor
// In your ts file
Object = Object;
// then in the template:
<div *ngFor="let key of Object.keys(objs)">
my key: {{key}}
my object {{objs[key] | json}} <!-- hier I could use ngFor again with Object.keys(objs[key]) -->
</div>
Example 2: angular how to iterate object
keys() : Array<string> {
return Object.keys(this.myDict);
}