An example application using Rails4 and AngularJS