Step 1: Formula
Use $U=-\vec{p}\cdot\vec{E}=-pE\cos\theta$.
Step 2: Check the given values
For $\theta=0$, $\cos 0^{\circ}=1$ so $U=-pE$.
For $\theta=\pi$, $\cos\pi=-1$ so $U=+pE$ (maximum).
For $\theta=\dfrac{\pi}{2}$, $U=0$.
Step 3: Compare the options
The lowest value of U is $-pE$, reached at zero angle with the field.
Final Answer:
The dipole has minimum energy when it is parallel to the field, at zero angle.
\[ \boxed{\text{(D) }\text{zero with direction of field}} \]