RESTful API and angular front end ecommerce application