changed ng-mouseenter to onclick