ngfor on keys of a dictionary angular

JavaScript
<div *ngFor="let item of testObject | keyvalue">
    Key: <b>{{item.key}}</b> and Value: <b>{{item.value}}</b>
</div>
Source

Also in JavaScript: