Rails as a back-end serving Json to AngularJs all in the same app.