The role of angular momentum transfer to determine the mass ratio of binaries