I have an * ngFor of an array object, I want to pass the id inside the button to the typescript for configuralos as links in a modal. Here is the syntax that I'm trying with no success:
<ion-item *ngFor="let item of itens">
<ion-thumbnail item-left>
<img src="../assets/img/{{item.img}}">
</ion-thumbnail>
<h2>{{item.nome}}</h2>
<p>{{item.categ}}</p>
<button id="{{item.id}}" ion-button clear item-right (click)="chamaProd()">ver</button>
</ion-item>