The angle between two planes $\alpha$ and $\beta$, having a line of intersection $r$, is defined as the angle formed by two lines $a\subset \alpha$ and $b\subset\beta$, both perpendicular to $r$ at the same point $M$.
In your case, to find the angle between $OAB$ and $OBC$ you can for instance draw the altitudes $AM$ and $CM$ of those two faces: then the angle is $\angle AMC$. To compute it you can find the lengths of $AM$, $CM$ and $AC$ (by some standard trigonometry) and then use the cosine law to get the angle.
The angle between $OAB$ and $ABCD$ is even easier: if $OK$ is another altitude of face $OAB$, then the angle is just $\angle OKH$, where $H$ is the center of square base.