Angular dependence of the energy loss of ions in solids: Computer simulations and analysis of models