If I do understand what you mean, you need to use some simple trig to retrieve the angle...
sin(angle) = opposite/hypotenuse
or
angle = arcsin(opposite/hypotenuse)
Here, angle would be between...