Ionic compound consists of a positively charged ion and a negatively charged anion. For example, NaCl. Na (sodium) is a cation (another word for positively charged ion) and Cl (chloride) is a anion (another way for negatively charged ion.)
Molecular compounds consists of only negatively charged ions. For example Br2I is a compound of 2 elements that are negatively charged.
Unlike ionic compounds, molecular compounds consists of two or more negatively charged elements.