Dogs are simple animals, it probably smells your weakness and anxiety when you're near it. You have to show that dog who's boss, or it will continue to project it's dominance over you. Or you can just leave the boyfriend, and get with someone that has a cat. ;)