Chaotic carjacking ends with suspect attacking 2 police officers