<button type="button" ng-click="submit()"class="btn btn-block btn-danger btn-primary btn-lg" >Submit</button>
function submit(){
### valid
$(#formid).submit();
}
区别于
<button type="submit" class="btn btn-block btn-danger btn-primary btn-lg" >Submit</button>