simple rails app made with angular js