init rails app, added existing angular code