This is my component.html, Here I want to get value from numberQuantity input field and pass it to (click) function and use in service function "removeProduct".
<input #numberQuantity type="string" name="quant" id="numberQuantity" >
<button (click)="removeProduct(user, numberQuantity.value)">Remove quantity</button>
This is my part of cart.service code
async removeProduct(productData, value){
var removeItem;
console.log(value);
removeItem = productData['quantity'];
removeItem = removeItem -value;