you are already doing it the right way, so don't beat yourself up for it. at this age, it is normal for some babies to start refusing the breast, and one of the ways they do it is getting a little aggressive.
if your baby constantly keeps biting, it can lead to cuts and infection, in which case you will not able to feed. i would suggest instead of worrying about breastfeeding now, you increase her other food intake. and breast feed her when she asks for it. also, if she continues to bite, try expressing your milk in a bottle and then give it to her.
my older one didn't stop till she was more than 2 years old, while the younger one completely stopped on her own at 10 months of age, very similarly to yours