On what factor does the escape speed from a surface depend?

Value of escape speed at the surface of a planet is given by the relation.
Thus, the value of escape speed from the surface of a planet depends upon (i) value of acceleration due to gravity g at the surface and (ii) the size (i.e. radius) R of the planet only. It is independent of all other factors e. g., the mass and size of the body to be projected, angle of projection etc.