title: Angular js / ionic app url links and function links not working
body: <p>I'm working on a angular js / ionic based app, I'm new with this.<br>
  <br>
  In my app I retrieve Strava data and inject it into a div via .append();<br>
  This is what I have in .append():</p>
  
  <pre><code>$("#list").append("&lt;div&gt;&lt;p&gt;some text &lt;a href='https://www.strava.com/athletes/...' target='_blank'&gt;url_link&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a on-tap='myFunction()'&gt;trigger_function_link&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;");
  </code></pre>
  
  <p>The above code on it's self is working fine except for two things in it.<br>
  (1)When I press the first link the URL is opend in a new page in my browser but not in my app.<br> I tried different things (org.apache.cordova.inappbrowser, javascript, angular js solutions) but non is working.<br>
  <br>
  (2)When I press the second link, the on-tap function is not getting triggered.<br>
  <br>
  When I copy paste the above div directly in my HTML (so it's not injected) everything is working fine, url links are opent in new page or in my native browser app on my device and the angular on-tap function is triggered correctly.</p>
  
  <pre><code>&lt;div&gt;&lt;p&gt;some text &lt;a href='https://www.strava.com/athletes/...' target='_blank'&gt;url_link&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a on-tap='Strava()'&gt;trigger_function_link&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Now the big question is how come that when my code is injected with .append() my links are not working, and is there a fix?</p>
  
  <p>Thanks!!</p>