Can I use AngularJS 1.3 for $asyncValidators?


#1

Hello all,
I am creating a login form where the user specifies the URL to their CMS site, their username and password.

I would like to provide some validation to check if the URL provided can hit an API endpoint.
For example if the user enters http://mysite.co.uk I want to check if I get a 200 back from a public API url first such as HTTP GET to http://mysite.co.uk/api/public/ping

If I get a 404 I know that this site URL is not setup to use this app & invalidate the form

I see a few posts pinned about AngularJS 1.3 being tested, but I am curious to know how stable it is with the latest build of Ionic.

Unless someone is able to offer me advice on how to do this HTTP API check without needing 1.3 & $asyncValidators

Cheers,
Warren :slight_smile: