test rails with angular.js