My dog is aggressive when she's on her leash but not so, when she's loose. Could that be the case with your dog?
It's not uncommon for dogs to act differently on leash as opposed to off leash. She may need to be little more socialized while 'on leash' for her to settle down