title: How to append parameters to every external url with angular
body: <p>Just looking for some ideas on what people think about using angular to add a parameter to every external url, or a url that contains a specific domain.</p>
  
  <p>Use <a href="https://cdn.mydomain.com/" rel="nofollow noreferrer">https://cdn.mydomain.com/</a> as an example. If I were to use jquery, on document ready I could do something like:</p>
  
  <pre><code>$(‘a[href*=https://cdn.mydomain.com/]’).attr(‘href’,function(i,href){
      return href + ‘?key=dhshowbdh’;
  });
  </code></pre>
  
  <p>Just wondering how people would accomplish this in angular 8, without using jquery</p>