A novel synthetic route for magnesium aluminate (MgAl2O4) nanoparticles using sol-gel auto combustion method and their photocatalytic properties.