Sample rails/angular app, implemented the rails way