All rotations of the plane have this form, but the set of orthogonal matrices also contains axial symmetries, who have determinant $-1$. You need to add the matrices of the form $$\begin{bmatrix} \cos(\theta) & \sin(\theta) \\\ \sin(\theta) &-\cos(\theta) \end{bmatrix}.$$ For a proof that any orthogonal matrice has one of these forms, see this question.