Effect of Ni addition on magnetism and corrosion resistivity of Ti/Co/Ni nanocomposites by sol–gel methods