My 4 month old Maggie does the exact same thing !!! She will do it half way through a walk. She starts growling and biting my ankles. She also bites and tugs at the bottom of my pants when I am getting dressed. I think she relates it to me leaving her. I am hoping it is just a puppy phase. I tell he a firm NO when she shows this behaviour. It doesnt seem to bother her at all !