javascript - validation on angular form submit after ng-click -
i need validate form on ng-click
in way
<button type="submit" ng-click="submitted = true">submit</button>
and have function need call on ng-click
like
<button ng-click="logincheck(user)">submit</button>login</button>
im unable both in 1 ng-click
. other sollution can make
or in controller
$scope.logincheck = function(user) { }
Comments
Post a Comment