0
I’m developing an app with Ionic, which consumes an external API (json). To make links that open in the native browser, I added the inAppBrowser plugin and it worked.
The point is that some links are dynamic, built with API variables, in the "url" and "id" case, as follows:
<button id="encontrar-button1" class="button button-balanced button-block icon-left ion-plus-circled" onclick="window.open('http://www.site.com/pagina/{{ url }}/{{ id }}/', '_system', 'location=yes'); return false;">Link</button>
It doesn’t work... it seems to me that Angular discards variables. How to solve?