An attempt to follow an AngularJS/Rails 4 integration tutorial