Anger is always a sign of frustration or desperation. Once you realise this, it could be easier for you to control yourself when you're angry. It (anger) can rarely achieve anything useful.
Also keep this in mind when dealing with an angry person.
Further, anger arises very easily in a person who is hungry or tired.