It's either random, or depends on the time of day. I've noticed in the morning, it's a specific angle everyday, though I forget which one. Then in the afternoon, it's regular, and in the evening, it's a different angle. Although that might just be my terrible luck.
Source: Experience and Serebii