Testing integration of AngularJS and Rails 4