I think that it depends on the amount of self-centeredness that is involved in our anger. If we get angry at injustice for God's glory and not at the unjust person, leaving that person to God to judge, I don't think it's a sin. However, very little human anger is selfless; self is usually involved.