Perhaps another way to frame the answer in terms of what you are saying about angular momentum is that the Moon does orbit the Sun, and it also orbits the Earth. If it did not orbit the Sun, it certainly couldn't orbit the Earth either. So we can layer the answer, saying that first and foremost, every planet and every moon in the solar system orbits the Sun, or else it isn't here. Then, on top of that, they might also orbit each other, if they are within each other's Hill sphere. In other words, it's not an either/or question, it's a first one and then the other question. Note this does not contradict the answers you already got, it merely slices the pie in a different way, which seems like what you are looking for.