Managing shop and cart with Angularjs