AngularJS and Ruby on Rails