I had good success on several different vehicles going lock to lock with the engine off and the front wheels in the air. That seems to purge out the air before the pump starts foaming it into bubbles that become harder to purge. After my recent experience with changing out my upper steering shaft, I definitely wouldn't do this with the front wheels on the ground!
I do this by default. Never had a problem after a change.