Angularjs, Ruby on rails