I want to change name in json for show in page (ion-select)
mycodehtml
ion-select [(ngModel)]="refine" (ionChange)="optionsFn(item, i);" >
<ion-option [value]="item" *ngFor="let item of totalfilter;let i = index" >{{item["@NAME"]}}</ion-option>
</ion-select>
myjson
"FACETLIST":{
"FACET":[
{
"@NAME":"creator",
"@COUNT":"2"
},
{
"@NAME":"lang",
"@COUNT":"1"
},
{
"@NAME":"rtype",
"@COUNT":"1",
]
}
this above ionic select
show creator lang and rtype
but I want to change @NAME for show in page
example creator->Creator, lang->Language
But I do not want to change value in json (I want to change for show in page)