Hi, I would need to access ngCart.getTotalItems() and ngCart.totalCost() functions from my controller's view (in order to display some items conditionally based on the number of items added to the cart and the total cost of it). What would be the way to correctly accessing those functions? Should I create a service/factory for it?
Thanks in advance