Make no friendship with a man given to anger, nor go with a wrathful man, lest you learn his ways and entangle yourself in a snare.
(Pro 22:24-25 ESV)
The message here is not that we should never associate with unpleasant people, but rather that we should be careful not to let negative influences become our close, personal friends. We cannot help but be influenced by those we are very close to. Another proverb (extra-Biblical) says that if you show me a man’s friends I’ll show you his future. Part of being the right kind of person involves being in the company of the right kind of people. Chose your friends wisely, and at the same time be a positive influence on somebody who may be using you as their means to self-improvement!
If you don’t want to be an angry kind of person then keep angry people at the level of acquaintance and gracious people at the level of friend.