use angular-auto-validate lib