I am trying to display a set of data in angular. the data is in key value form . I am using *ngFor for iteration. problem is the value part is not uniform in all records. In some records, it is a string, in some records it is an array. So in those cases it is showing [Object object] in my page.
How I can iterate thru this inner array within value field, with *ngIf, that is my question.
part of code
<div class="row" *ngFor='let item of model'>
<div class="col-md-4">{{item.key}}</div>
<div class="col-md-8 " data-toggle="collapse" >{{item.value}}</div>
</div>
I want to know how to use another *ngFor within *ngIf, and what condition should the *ngIf should have.