example ruby on rails + angular.js app