I've only done it once, and it was for self-preservation, not anger.
I was a pedestrian, and a woman was turning right on red without looking forward first. She was beginning to drive right at me, I was in the crosswalk. I slapped the hood, and she stopped, looking frightened.
If someone makes you angry, just let it go. You'll feel better later, and possibly avoid getting seriously hurt.