For a projectile motion along x axis is given as,
x=v0xt
For a projectile motion along x axis is given as,
y=v0yt−12gt2
Slope of the two gives the angle between the velocity component of x axis and y axis.
dydt=v0y−gt
dxdt=v0x
dydx=v0y−gtv0x
θ(t)=tan−1(v0y−gtv0x)