refac(cart add): move functionality to the root controller

this way we can share addToCart method via $scope inheritance