A ball is at the top of a semi-circular dome

A ball is at the top of a semi-circular dome. At what angle \theta
will the ball fall off the dome?