You are correct! Pairs of electrons occupy a reasonable amount of space and repel each other as well as attached atoms. The bond angle for the atoms in water is 105 degrees because the non-bonded electron pairs are held a bit closer to the oxygen nucleus than the hydrogen atoms and force the hydrogen atoms a little closer together than the expected 107.5 degree bond angle.