I got attacked by a ferocious pekingese a couple weeks ago. Near as I could tell, the dog ran out of the front door in front of the owner who was yelling his head off at the dog to stop. The house was right at the bottom of a hill, so I really couldn't outrun the little thing who charged me at a right angle with surprising speed. When she closed, I could see that the most she could possibly do was bite my shoe, but I was seriously concerned that I was about to run over her. I hopped off the bike and picked my foot up so it was over her head and yelled as loud as I could "Hey!". She immediately without missing a beat turned around and ran back into the yard as fast as she charged. I think the owner actually thought I was about to stomp his dog and looked quite relieved when I yelled. He apologized profusely at which point I said "no problem, I was just training her."
Except for the possibility of running over them, which is pretty scary, it's hilarious when such a little dog doesn't realize the thing it's attacking is so much bigger.