The angular momentum evolution of low-mass stars