When trying to print the custom object by iterating through the for loop via ngFOR the double quotes are also being printed Here is my loop the value is being printed like this "METRO" while i want them to appear normal like METRO
<ion-list>
<ion-item-group *ngFor="let g of tp.LegList">
<table width="100%" border="0">
<tbody>
<tr>
<th>
<ion-card>
<div *ngIf="g" ng-value="some value">
{{g}} {{g.line}}
<ion-item>
<ion-label (click)="showNextDepartures($event)">{{g.line | json}}</ion-label>
</ion-item>
</div>
</ion-card>
</th>
</tr>
</tbody>
</table>
</ion-item-group>
</ion-list>
</ion-item-group>
</ion-list>