learning angularJS with rails