A sample of how best to communicate between and Angular JS client and a Rails API with Grape.