A servo uses a potentiometer attached to the output shaft in order to sense position, and the internal electronics take care of driving the motor to move the shaft to the desired angle.
This allows for significantly finer positioning of the output shaft than with wave stepping ... but also noted is that servo motors are often what you want instead. This is a topic which we ...