updated angular-validator