Most strength training programs prescribe how much weight you're going to lift on any given day. I can tell you how much I'm going to lift today, and I can tell you how much I'm going to lift on Friday. In that context the anger makes it easier to succeed, but doesn't pose much, if any threat. I'm not going to put extra weight on the bar, beyond what I was scheduled to attempt.
if you end up injured while trying to get some steam off, now that would piss and disappoint many.
so gym yes, but I would put a bit lower weights, or go for some cardio