Polyaniline nanofibers prepared by a facile electrochemical approach and their supercapacitor performance