AngularJS front-end with a RESTFUL PHP backend