Dog dreams often have to do with the basic instinct towards friendship, loyalty, and protection.
Aggressive dogs in dreams have a variety of meanings depending on context.
It could be that you or someone you know is being disloyal, that you have an inner conflict, or that someone in your life is untrustworthy.