title: Remove the http://localhost prefix from the url
body: <p>In my angular code</p>
  
  <pre><code>app.directive("myDom", function ($compile) {
  var url = "\'https://examples.form.io/simple\'";
  return {
      link: function (scope, element) {           
          var template = '&lt;formio src="' +url+ '"&gt;&lt;/formio&gt;&lt;button&gt;ClickMe&lt;/button&gt;';
          var linkFn = $compile(template);
          var content = linkFn(scope);
          element.append(content);
      }
  }
  });
  </code></pre>
  
  <p>my url in  is displayed as </p>
  
  <pre><code> http://localhost/'https://examples.form.io/simple'  
  </code></pre>
  
  <p>How do I remove the prefix <a href="http://localhost" rel="nofollow noreferrer">http://localhost</a></p>
  
  <p>Seen the answers for the below questions but it didn't helped</p>
  
  <p><a href="https://stackoverflow.com/questions/27530329/why-is-my-js-putting-a-prefix-to-my-links-localhost3000-mylink">Why is my JS putting a prefix to my links (localhost:3000/mylink)?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/19404517/removing-http-prefix-from-asp-loaded-url">Removing http:// prefix from ASP loaded URL</a></p>