You have $\sin \theta =\cos \theta = \sin (\frac \pi 2 - \theta)$. As $\sin \theta$ is increasing in this range, this gives $\theta=\frac \pi 2-\theta, \theta=\frac \pi 4$
You can use the fact that base angles of an isosceles triangle are equal. You know the $1-1-\sqrt 2$ triangle has a right angle by Pythagoras, so the other two angles have to be $45^\circ$