I'd just ignore them like while dogs trying to bark at me and walk away. If the dog tries to bite. I'll kick it in the nut then bring it home to its owner. If the dog is too big. I ran then come to its owner's place with a letter of complaint from my lawyer or with an authority.

I try to play it smart. Most of the time, when I turned around and let the dog barks all he wants. He'd just feel that he's so inferior and dumb.