have been using angularjs-rails-resource - recommend it