Hit rotate (q). Left click and HOLD on the first point of the axis. Click on the other point and rotate. (the rotate axis will snap to X,Y or Z axis)
I was always building a face to snap to a rotate gizmo before I notice that in some tutorial.
I hope it will be helpful.