rails app for angularjs