NH4Cl is an ionic compound. It is a special case. Although it is composed of all non-metal atoms.
But it is formed by a complete transference of electrons from an ammonium (NH4+) ion to a chloride (Cl–) ion, so it is ionic.