angularjs and rails