Bioactive HA/TiO2 coating on magnesium alloy for biomedical applications