my first attempt to integrate rails with angular