Hi Shinya,
There are some changes in the past 2 years since the post was written. ;)
you can do:
<div *ngFor="let item of [...Object.entries(AssociativeArray)]">{{item[0]}}
- {{item[1]}}</div>
But I would traverse the thing in the components code, as I feel this is a
bit too much logic that ends up in the template.
Regards\
Sander
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.