you have initial velocity in the y
and you have the acceleration
and you have the total time

vf = vi + at

then you find the final velocity in the x

and you put the vectors together to make the new direction, which you can use to get the angle