Magnetic angular position sensor enabled by spin-orbit torque