How proper handle paths to files?

APK file has different structure than this generated through ionic.

So this works on device:
< img id=“greenStationImage” src="./…/www/img/markers/station_green.png" / >

But not in the browser.

Browser works when “/img/markers/station_green.png”.

How to handle both?