I have requirement like this.
<label>Website Address</label>
<span><input type="text" class="form-factor" data-ng-model="websiteUrl"/></span>
I have the HTML code like this. Once the user enter text in website URL field I need to add prefix to the URL with http://.
If the user is entering the URL with http://. then no need add the http:// prefix.
How can i do with in AngularJS .
Please suggest