added example to work with angular form-validation