The angular momentum of the turning bicycle wheels makes them act like gyroscopes to stabilize the bicycle. This gyroscopic action also helps to turn the bicycle.
A rider leaning left will produce a torque which will cause the bicycle wheel to precess counterclockwise as seen from above, turning the bicycle left. The angular momentum of the bicycle wheels is to the left. The torque produced by leaning is to the rear of the bicycle, as may be seen from the right-hand rule. This gives a rearward change in the
angular momentum vector,
turning the bicycle left.