Angle of deviation depends upon which of the following
All of the above
we know,
angle of deviation = angle of incidence + angle of emergence - angle of the prism.
so we can say that angle of incidence and angle of the prism will directly affect the angle of deviation and we also know that refractive index is different for different materials so if you change the nature of the material of prism, it will affect how light travels in that medium which will, in turn, affect the angle of deviation.