Find angle of launch based on velocity and direction

The first part of this post can maybe help you Modeling a projectile's motion