rails with angularjs