Paul's command to be angry and sin no contains an imperative, that is to be angry. Anger is often abused and most of the time we get too angry. However God has given us the emotion of anger so that we can take action.