Officials say the bomb was aimed at nearby police officers .