post 1: connecting-angularjs-resource-with-rails