In Angular 6.1 the KeyValuePipe was introduced which allows you to iterate object properties:
<div *ngFor="let item of object | keyvalue">
{{item.key}}:{{item.value}}
</div>
Docs: https://angular.io/api/common/KeyValuePipe
In Angular 6.1 the KeyValuePipe was introduced which allows you to iterate object properties:
<div *ngFor="let item of object | keyvalue">
{{item.key}}:{{item.value}}
</div>
Docs: https://angular.io/api/common/KeyValuePipe