CRUD rails scaffold to angular CRUD, update and delete broken