I have some product and cart list. Here is the function to loop the cart list to get the particular product using id
getCartList(){
this.cart = CART;
this.cart.forEach((cart: Cart) => {
let id = parseInt(cart.productid.trim());
//**this.product = this._productService.getProduct(id); => Here I need to call another service.**
});
});
console.log(this.cart);
}