One thing I want to mention here. Since this template can be used for a webshop as well, I also added an NgRx store which is autmatically updating the sopping cart automatically when you want to add a product to it. The state itself is linked to the local storage so when you come back to the page (using metareducers), your card will contain the same items as when you left the page. It's pretty straight forward if you've already worked with it.