routing rails routes to angular endpoints