*table>
<tr>
<th>Name</th>
<th>Price</th>
<th>Change</th>
<th>Chart</th>
</tr>
<tr *ngFor="let coin of coins" >
<td>
<b> <img class="img" alt="logo" height="25" src={{coin.img}} ></b><p>{{coin.name}}</p>
</td>
<td><b>{{coin.price}}$</b></td>
<td><img class="img chart" alt="logo" height="40" src={{coin.chart}} ></td>
</tr>
</table>
this is my page.ts file:
coins : Array;
constructor(public navCtrl : NavController,
private coinsService : CoinsService,
private coinValueService:CoinValueService){
this.coinsService.getCoins()
.then(response => this.coins = response);
}
the problem is that only the last item update the {{coin.price}} Although in my console.log(coins) it show that the price value change Properly.