The angle between the refracted ray and the normal
The angle is always measured from the normal to the ray. In refraction waves will refract towards the normal when they go into a more dense medium and refract away from the normal going into a less dense medium.