Set up json API routes for Angular to talk to Rails