At first, we need to make one additional assumption, namely value of the impulse is constant for any applied angle. Then we may consider the situation.
For any angles less than 900, the applied force will be resolved into || and ⊥ components. F⊥ will create rotation around CM, while F|| will create translation motion. That means we have two restriction of the applied impulse P. The first related to the angle of P, and the second to value of it, as EK=EKtranslation + EKrotation.
The larger the angle, the less part of the applied force will be spent for the translational motion. Then, the larger the angle, the greater should be the applied force, in order to reach the original location.
As for friction between the pizza and the pan, if it may be ignored, object will have only translational motion, and then see previous statements.
If friction cannot be ignored the greater friction, the smaller the angle value, as the greater part of EK will be spent for rotation and for work against the friction.
Thus, in case of constant impulse applied, the angle should be close to the center of the folded edge