Anger and Wrath are not attributes of God - attributes of God are equivalent to his Essence, his Very Being.
So God is Love, Truth, Beauty, Power, Knowledge, Wisdom, Goodness, Justice, Mercy, etc.
However, God’s Perfect Justice is what gives rise to the Catholic doctrines regarding God’s Righteous Anger and Retribution. God punishes sin, and he does so because he hates sin and it angers him. Hatred and anger are not attributes of God’s Essence, but God is capable of expressing anger and hatred in reaction to sin and evil committed against him, since God is not some abstract concept but a Godhead of Persons - God is a Person, even a Man, the Man-God Christ Jesus, to whom all Judgment has been entrusted. And as we see in the Gospels, Jesus is certainly capable of becoming angry.