action - change ng-click to ng sumbit ( validation)