Open and download PDF on Ionic app


We are trying to open
<a class="button button-assertive" style="width: 170px;" href="' + pdfUrl + '" target="_blank">Åpne PDF</a>

On Android and iOS and web, using the mecanisme under that works on other links.

<a href="#" onclick="'', '_system');"></a>

Any suggestion on how to rewrite the code above so it also works on Android, iOS and web?
We are using an ssl connection so we have to use https://