Shape of molecules are dependent on numerous factors, but it is most dependent on the number of lone pairs and number of bonding pairs. Lone pairs serve to repel other electron pairs while bonding pairs bond with other atoms and repel other electron pairs.

Lone pairs are basically electrons that are not involved in the bonding itself, and are attached to only one atom. Bonding pairs on the other hand are electrons that are shared B

Bonds involving 2 atoms do not really have a bonding angle, or an angular distance between the central atom and molecules. However, bonds involving more than 2 atoms have angular distances, depending on the number of lone pairs to repel bonding pairs.