Changed the click methode in order to use angularjs. (still need to change the animation part and style)