you were lucky it wasn't YOU.
our neighboor has two of them now - we are terrified here, especially when relatives visit with small nieces/nephews.
...a little goes a long way
My 12 pound pek/pom would be able to tell that and she'd immediately dominate you.
I suggest you read up on how to cope with and handle yourself around larger breeds, otherwise you're just inviting trouble.
Get to know your neighbors and inquire about how they handle and train their pets. You'll feel better knowing what their temperaments are (the OWNERS, not the dogs).
There is a tried and true solution for the problem you have.