Try replacing these thoughts with more rational ones. They also alienate and humiliate people who might otherwise be willing to work with you on a solution. For example, you have a friend who is constantly late when you make plans to meet. The only goal that accomplishes is hurting and angering your friend. Either way, the problem is solved and the friendship isn't damaged.
Logic defeats anger, because anger, even when it's justified, can quickly become irrational.
So use cold hard logic on yourself. Do this each time you feel anger getting the best of you, and it'll help you get a more balanced perspective. Everyone wants these things, and we are all hurt and disappointed when we don't get them, but angry people demand them, and when their demands aren't met their disappointment becomes anger. As part of their cognitive restructuring, angry people need to become aware of their demanding nature and translate their expectations into desires. Some angry people use this anger as a way to avoid feeling hurt, but that doesn't mean the hurt goes away.