\newcommand{\inner}[2]{{\left\langle #1,#2 \right\rangle}}
\begin{document}
\[\inner{\frac{\partial\phi}{\partial x}}{f(x)}\]
\end{document}