Solution to the nice angles problem.