Its about the angle yes, but the main thing is basically for every square unit of solar radiation gets projected onto a larger surface because of the angle- meaning radiation per unit area is lower. The secondary effect is that sunlight has to travel through more atmosphere, and gets scattered somewhat.