This may be a simple question to most of you, but I'm having trouble understanding the concept behind the use of an inverting amplifier. What is the purpose of using an op amp in an inverting amplifier if all of the current flows through the feedback resistor. In my textbook it states that the potential on the inverting input is equal to the non-inverting input which is Earthed, which produces a differential input of 0V. How is this in any way useful for the function of the circuit?
Also, how is the potential at $V_2$ 0? If current flows from $V_{in}$ to $V_{out}$ then how is the potential at that point 0? My textbook also states the currents $I_{in}$ and $I_F$ are in opposite directions seeing as $I_F=-I_{in}$. If this is the case I can see why the potential at $V_2$ is 0, but why are the currents in the opposite directions?