How can I replace HTTP with a simple string in angular.js?
2 answers
try it. http://www.w3schools.com/jsref/jsref_replace.asp
var str = "Visit Microsoft!";
var res = str.replace("Microsoft", "W3Schools");
+1
source to share