the ideal angle for maximum horizontal displacement is 45 degrees
With drag, it is less than 45 degrees.
Source: I once upon a time ran a simulation because I was curious. The magnitude of the offset from 45 degrees scales with drag coefficient & frontal area