Tutorial example for Angular on Rails 4