Angularjs with rails