Working with Angular and Ruby on Rails