I understand that if $e\in{\mathbf{Z^*_{\phi(N)}}}$ then $\gcd(e,\phi(N))=1$ and if $e\not\in{\mathbf{Z^*_{\phi(N)}}}$ than $\gcd(e,\phi(N))\neq{}1$.
But I couldn't figure out why this implies bijection of $f(x)=x^e$.
I also tried to see examples but that didn't help me to explain the phenomenon.