more structure for angular

http://sebastien.saunier.me/blog/2014/02/04/angular--rails-with-no-fuss.html