ionic ngfor object

Solutions on MaxInterview for ionic ngfor object by the best coders in the world

showing results for - "ionic ngfor object"
Alina
04 Apr 2018
1//in the Component pass Object to template:
2
3Object = Object;
4// then in the template:
5
6<div *ngFor="let key of Object.keys(objs)">
7   my key: {{key}}
8   my object {{objs[key] | json}} <!-- hier I could use ngFor again with Object.keys(objs[key]) -->
9</div>
10