changing from onclick to ng-click