{"action":"created","issue":{"url":"https://api.github.com/repos/nelsonomuto/angular-ui-form-validation/issues/56","labels_url":"https://api.github.com/repos/nelsonomuto/angular-ui-form-validation/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/nelsonomuto/angular-ui-form-validation/issues/56/comments","events_url":"https://api.github.com/repos/nelsonomuto/angular-ui-form-validation/issues/56/events","html_url":"https://github.com/nelsonomuto/angular-ui-form-validation/issues/56","id":52583883,"number":56,"title":"Async custom validator for API call","user":{"login":"rwwagner90","id":2640861,"avatar_url":"https://avatars.githubusercontent.com/u/2640861?v=3","gravatar_id":"","url":"https://api.github.com/users/rwwagner90","html_url":"https://github.com/rwwagner90","followers_url":"https://api.github.com/users/rwwagner90/followers","following_url":"https://api.github.com/users/rwwagner90/following{/other_user}","gists_url":"https://api.github.com/users/rwwagner90/gists{/gist_id}","starred_url":"https://api.github.com/users/rwwagner90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwwagner90/subscriptions","organizations_url":"https://api.github.com/users/rwwagner90/orgs","repos_url":"https://api.github.com/users/rwwagner90/repos","events_url":"https://api.github.com/users/rwwagner90/events{/privacy}","received_events_url":"https://api.github.com/users/rwwagner90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-21T02:35:29Z","updated_at":"2015-01-24T20:48:18Z","closed_at":null,"body":"How would one create a custom validator that is passed some data, uses that data to POST to an API and then does different messages based on what the API returns? I don't believe I saw anything about this use case in the documentation. I have created my own custom one for use with a regex, so I'm loosely familiar with how to do it, but do not know how to do this case. I would appreciate any help you can give!"},"comment":{"url":"https://api.github.com/repos/nelsonomuto/angular-ui-form-validation/issues/comments/71336532","html_url":"https://github.com/nelsonomuto/angular-ui-form-validation/issues/56#issuecomment-71336532","issue_url":"https://api.github.com/repos/nelsonomuto/angular-ui-form-validation/issues/56","id":71336532,"user":{"login":"geemang2000","id":392233,"avatar_url":"https://avatars.githubusercontent.com/u/392233?v=3","gravatar_id":"","url":"https://api.github.com/users/geemang2000","html_url":"https://github.com/geemang2000","followers_url":"https://api.github.com/users/geemang2000/followers","following_url":"https://api.github.com/users/geemang2000/following{/other_user}","gists_url":"https://api.github.com/users/geemang2000/gists{/gist_id}","starred_url":"https://api.github.com/users/geemang2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geemang2000/subscriptions","organizations_url":"https://api.github.com/users/geemang2000/orgs","repos_url":"https://api.github.com/users/geemang2000/repos","events_url":"https://api.github.com/users/geemang2000/events{/privacy}","received_events_url":"https://api.github.com/users/geemang2000/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T20:48:18Z","updated_at":"2015-01-24T20:48:18Z","body":"+1 on this. I'd like to use some serverside validation"}}