I know that making your mind work, especially when there's smoke emanating from your head, is hard. Nevertheless, exercising control over your emotions will do wonders. It’s just mind over matter. Think of the possible consequences if you act on your anger.
Try to visualize the things that might happen if you do something borne of your anger. Will a breakup ensue or will you leave a bad impression among your friends as soon as you start spewing hurtful words? Through pausing to think, you will be able to stall your emotions while the anger subsides. Be mature enough to take responsibility for the actions you do and the words you say.