contestada

"The teacher was angry with her behaviour."
This the sentence that i made in my todays exam for the prepositional phrase "angry with". Is this correct or not.