Is there a time to be angry? If so, when?

Question:

Ephesians 4:26 says, “Be ye angry, and sin not.” Is there a time to be angry? If so, when?

Answer:

We know from John 2:13-16 that Jesus was angry at the moneychangers and people selling animals in the temple. Christians should be angry at sin.