# Angular Ionic data binding

**URL:** <https://forum.ionicframework.com/t/angular-ionic-data-binding/215854>\
**Category:** Ionic Framework\
**Created:** [October 7, 2021, 1:20pm UTC](https://forum.ionicframework.com/t/angular-ionic-data-binding/215854 "2021-10-07T13:20:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alifnaiech](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@alifnaiech](https://forum.ionicframework.com/u/alifnaiech)\
**Post date:** [October 7, 2021, 1:20pm UTC](https://forum.ionicframework.com/t/angular-ionic-data-binding/215854/1 "2021-10-07T13:20:32Z")

</div>

I’m looping a list of products, and I want to get un single product to make HTTP request with IDProduct but i can’t pass prod from .html to .ts. Is anyone can help Me ?

```auto
       <ion-item *ngFor="let prod of listProdotti | filter:searchItem">
          <ion-label>{{ prod.NomeProdotto }}</ion-label>
          <ion-label>{{ prod.Reference }}</ion-label>
          <ion-toggle color="primary" [checked]="prod.Pubblicato == 'Si' ? true: false" (ionChange)="statusProduct($event)"></ion-toggle>
          <ion-icon style="cursor: pointer;"name="trash" color="danger" (click)="deleteProduct(prod.IDProdotto, prod.NomeProdotto)"></ion-icon>
       </ion-item>

```

---

<div class="post-metadata">

**Author:** ![Tommertom](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@Tommertom](https://forum.ionicframework.com/u/Tommertom)\
**Post date:** [October 7, 2021, 3:18pm UTC](https://forum.ionicframework.com/t/angular-ionic-data-binding/215854/2 "2021-10-07T15:18:04Z")

</div>

Consider putting the click handler on ion-item. Does it pass the data?

If so then maybe ion-item is not bubbling the click? Maybe add slot=“end” to ion-icon and put the click handler back
