In that type of circumstance, best just ignore them. Those people seek a reaction - they want you to be bothered - so don't give them the pleasure of letting them know they affected you. Even if you're furious, force yourself to just walk on by and keep it all in. It may continue to bug you for the rest of the day, week, year or whatever, but keep that to yourself; as long as you don't appease those other people by showing that they affected you, you're winning. They'll come away miffed because they expected to wind you up and they failed.