Unable to rotate 3D Model with a single click

Working on a 3D Web Based App. I uploaded a 3D Model. Everything worked fine but I want to rotate it 180 degree with a single click and I am unable to do it. An expert can help me only. This is the repository of my project.