I think it's good to associate it as much as possible with good things - carrying treats to mark her good behavior, then keep you in front of your dog/away from them and keep walking.
You can also sternly tell the dog to go home. Obviously if big, threatening dogs were approaching, you'd need to take a different role, but it's good for our dogs to learn how to deal w/these things well and it sounds like your girl does. I have a dog who sounds like Regan in the Exorcist when he sees a strange dog approaching...