As a follow-up to his command that Jesus' followers adopt a new attitude divorced from our former futile thinking when we were apart from God, the Apostle Paul offers up in these verses three examples of what that will look like: (1) Embracing truth by putting off falsehood, (2) Keeping anger in check so that it does not lead to sin, and (3) Sharing what we have earned rather than taking (stealing) from others.
With respect to anger in particular, Paul frames it as a potential "foothold" that the devil might use to ensnare those who sin in their anger. The same holds true for the other two issues, and really any situation where we give in to temptation. The answer is always the same: embrace righteousness. When we say and do what is right, temptation (evil) has no opportunity to affect us.