Rails as proxy for another API. AngularJS on front.