Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngModelController): Fix $asyncValidators example #8906

Closed

Conversation

twhitbeck
Copy link
Contributor

Since $asyncValidators require rejection in order to invalidate, the example needs to return $q.reject instead of false from the user lookup resolution.

Also, fix small typo in docs.

@caitp
Copy link
Contributor

caitp commented Sep 3, 2014

Looks good to me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants