I am trying to develop a mobile app with below design..
When click on the continue button I need to send data to http api like
data = {
{'product':'Salt','quantity',23,'price',4567},
{'product':'Sugar','quantity',12,'price',21},
{'product':'Egg','quantity',2,'price',64},
{'product':'Milk','quantity',8,'price',243}
};
I tried many answers in stack and its not working.
<ion-list>
<div class="itemPro" *ngFor="let product of products;let i = index;">
<div class="prduct">{{product.name}}</div>
<div class="quanty"><input [(ngModel)]="quanty_i" type="number"/></div>
<div class="amt"><input [(ngModel)]="amt_i" type="number"/></div>
</div>
</ion-list>
<div class="w80">
<button class="big-btn" ion-button full (click)="continueToReview()">Continue</button>
</div>
continueToReview(){
console.log(this.product.quantity);
}
How can I solve this issue with angular array systems ?

