Call

Ionic bonds occur between anions and cations. And cations may be metallic, i.e., $M^(2+)$, or they may be non-metallic, i.e. ammonium salts, $NH_4^+$. And anions, while typically non-metallic, i.e. $X^-$ $"(X = F, Cl, Br)"$, may be metallic, i.e. $Cr_2O_7^(2-)$, or $MnO_4^-$, or at least containing a metal centre. Confused yet?

The point is that an ionic bond is an electrostatic bond formed between anion and cation, whatever the source.