Domain Generalization through the Lens of Angular Invariance