Dendritic polyaniline nanoparticles synthesized by carboxymethyl chitin templating