Whenever you get angry, the first step would be to try and keep silent. That's what I do. If you won't talk during that time, there's less chances something bad will come out of your mouth. Or I walk away from the scene.
Also, they say if you're standing when angry, you should sit down, if you're sitting, you should lie down. Also making wudhu during that time helps. There is a hadith along the lines of that anger comes from shaitan, and shaitan is made of fire. Fire is quenched by water, so whoever gets angry should do wudhu.