Leave him outside a shelter  &amp; Live your life happily with your dog.  

Firstly, Why did your dog attack? 
Secondly, Giving away an aggressive dog to an unknown person will possibly further the dogs aggression.
Third, Is the dog fixed? Do you have a muzzle for him? Can you not put him somewhere when you have guests?
Fourth, Your husband sounds like a horrible man, And that’s emotional abuse/manipulation. Saying things out of spite is common, but not in anyway right or just. I understand it may be the heat of the moment but if his instant thought in a time of stress is to leave you, then I think you already know it’s on his mind.