Answers for "How to loop over object properties with ngFor in Angular 8"

2

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>
Posted by: Guest on December-14-2020

Code answers related to "How to loop over object properties with ngFor in Angular 8"

Code answers related to "Javascript"

Browse Popular Code Answers by Language