Stepper vs Servo

Let me ask you for an angle control code, stepped with micro-step driver of nema 23 motor connected to a servo