change onclick to ng-click