Angular Part 2 : Create Products List And Call API In TS File | Create Ecommerce Angular Project
Angular Product List
I want to display list of product
Import Input from @angular/core .
…
Display the new product alert component as a child of the product list.
Open product-list. component. …
To include the new component, use its selector, app-product-alerts , as you would an HTML element.
Pass the current product as input to the component using property binding.