Step 1: Understanding the Concept
The potential energy of a dipole in a uniform field is \(U=-pE\cos\theta\).
Here \(\theta\) is the angle between the dipole moment and the field.
Step 2: Minimise the energy
U is smallest when \(\cos\theta\) is largest.
The largest value of \(\cos\theta\) is \(1\), which occurs at \(\theta=0^{\circ}\).
Step 3: Result
Then \(U=-pE\), which is the minimum value.
So the dipole is aligned along the field.
Final Answer:
The potential energy is minimum when the dipole makes an angle of zero with the direction of the field.
\[ \boxed{\text{(D) }\text{zero with direction of field}} \]