Integrate Rails with Angular