Description
Use phone validator to restrict the input URLs.
Dependencies
Usage
In HTML Template Binding
<input type="text" ng:validate="url"/>
In JavaScript
angular.validator.url(value)
Parameters
value – {string} –
value to validate
Example
Enter valid phone number:
<input name="text" value="http://example.com/abc.html" size="40" ng:validate="url" >