Rails project with angularjs