I hate my husband's dog.
Why do you hate your husband's dog?
Because I'm mad at my husband and I want to get back at him.
If you have an issue with your husband, you should not let out your frustration on the family dog as it has nothing to do with your relationship. You should talk with your husband about what is truly bothering you and try to address that issue rather than hating and negatively affecting an innocent pet.
The pet is an easier target.
You should treat your pet well, no matter how mad you are at your husband. It's pretty normal to feel angry at a spouse, and you should work at getting through this without involving the dog.