Anger is an appropriate response to sin because sin is a betrayal of trust that God places in man. Moreover, God directs his anger at the sin rather than the sinner for whom Jesus died.
Emotional, uncontrolled anger is destructive and self-centered. Godly anger seeks to right a wrong and bring about reconciliation.