Follows tutorial at http://angular-rails.com/