Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Inject code through Ajax

$
0
0

Hi.

In my project, Im using an Ajax call to inject code into the ion-content. It contains items with an:
<ion-item ng-click="openModal()">

However the ng-click never fires. If I do a regular javascript onclick that works, but how do I get the ng-click's to work after they have been injected into the ion-content through ajax. Do I need to refresh the dom or something similiar?

Thx!


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>