REST service and Angular.js client.