fixed html5 validation for angular