On HTML5 you can use the form's attribute novalidate to disable browser's validation:
If you want to create a custom validator in angularjs, you have a good tutorial and example here: http://www.benlesh.com/2012/12/angular-js-custom-validation-via.html