One I'm most scared is a standard poodle. Was installing a fence and kept hearing a banging noise coming from the house

Heard glass break and saw a dog coming at us. Dog bit me pretty good on the arm. When I knocked the dog off me it turned and went after my coworker.
Coworker had a pair of fence pliers in his hand. He jumped back and as he did, he smacked the dog on the head when it lunged at him. Dog dropped like a sack of taters dead
Called the police and the home owner, explained to both what happened. Both arrived within minutes of each other. Homeowner swore her precious would never hurt a fly and was pretty irate about her dog being dead, and that we owed her for her dog. Cop handed her a ticket and informed her she was responsible for my doctors bills over the bite as well as the dog since it got loose and attacked us.
The officer then went and inspected the house to see how the dog got loose. Officer found four double pain windows cracked in view of us, and one broken one where the dog got out. Apparently the dog kept ramming windows till one finally broke.