We can say that the refracted angle is dependent on the ratio of the indices of the two materials as well as the incident angle . As a result, by controlling the ratio of the indices, one can control the refracted angle such that all of the light is reflected back from the interface. This is known as total internal reflection and is the method that allows for light to be contained and guided inside of a fiber optic.