to understand how Rails 4 works with Angular forms