Accretion of angular momentum from an inhomogeneous medium – II. Isothermal flow