How does an alpha (AoA) vane work?
From what I have studied at my instrumentation course, it rotates and reads the angle between the current position and the reference position.

You then have several (3-4) of them around the fuselage because a roll maneuver (for example) will alter the measurements asymmetrically and in this way you can compensate for this effect.