Ruby on Rails + AngularJS application