My son does that as well. I think he doesn't know how to express himself and release his emotions.
It depends why your toddler is angry. If she is angry because she is impatient for milk, for me, I make my son count to 10 or say A-Z to teach him to wait.
If she is angry because you scold her, for me, I will hold his hands together and ask him to calm down. If he refuses, I will hit his hand. If he still opposes, I will put him on a reflection chair and he has to stay there till he calms down.