Rails App with angularjs