Be ye angry, and sin not: let not the sun go down upon your wrath. Eph 4:26
It is possible to be angry and not to sin in your response. Sometimes a person is angry because they see an obvious injustice and no one is doing anything about it.
The Bible refers to a coming Justice in Isaiah 45:8. Every injustice will be revealed in this life or in the next when Jesus reigns physically on the earth. Then the hunger for Justice will be fulfilled.
For the Father judges no man, but has committed all judgment unto the Son.
The constant and unchanging will of God is to give everyone what is due him or her. Every possible form of justice is possessed by God.
Legal justice in that through the natural and moral law he co-ordinates creatures to the common good;
Distributive justice because he gives to his creatures everything they need to fulfill the purpose of their existence;
Remunerative justice because he rewards the good;
Vindictive justice because he punishes the wicked.
Tell the heavens to send down JUSTICE like showers of rain. Prepare the earth for my saving power to sprout and produce JUSTICE that I, the LORD, create. Is. 45:8