building a basic rails app with angular