connected our angular app to rails with CRUD