Angular.js application using Magento as the backend API