a rails-api + angular app