My own pup went through this kind of transformation, having had a horrible past life before being found on the side of the road by her rescuer with broken bag legs. She was so timid and easily spooked at first, but now she's the most confident, happy (and sometimes stubborn) dog on the block.

I think it's easier to see in dogs, but certainly a concept that works for humans too!