The quick buttons rotate by -90, +90 or 180 degrees, and you can press them repeatedly. For anything else, type an angle from 0 to 360 or drag the slider. Positive values turn the image clockwise.
The same angle is applied to every image in the list, which is handy when a whole set of phone photos came out sideways.