Photonic polarization gears for ultra-sensitive angular measurements