On accretion of angular momentum from an inhomogeneous medium