Go take a walk. I normally remove myself from the situation which is causing me the anger and return later once I've cooled down.
Yes anger really hard to avoid, I think if you get angry you're right walk away immediately from the situation. Find place to cool down and refresh your self. Think of something that makes you forget things that causing your anger.