Use this AngularJs with Rails base application for your starting point!