How to print custom object array in ionic view

i have a custom object array. but i am unable to print the values inside for loop
<ion-item-group *ngFor=“let g of tp.LegList”>

giving some undefined error
while if i try to

then [object object] is printed

You can use the pipe json like this in your html to view the plain object in a string

{{ g|json }}