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 question is that some links are dynamic, constructed with API variables, in the case of "url" and "id", 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 does not work ... it seems to me that the Angular discards the variables. How to solve?