Set up root Rails route as well as routing for the Angular app.