An ionic bond forms with electrons that have opposite charges, a negative (non-metal) ion and a positive (metal) ion. By transferring electrons, all elements involved should be able to be successful in filling their entire outer orbit. Negative ions will take electrons whole positive ions will give away electrons.
Hope this helps.