use ng-click instead of submit