I'm using Ionic v1 and testing in Chrome (ionic serve) and View App (ionic upload).
I included this script in my index.html
url: 'https://myurl/' + thing.id,
description: 'Check out my thing.'
<a href class="addthis_button_email"></a>
<a href class="addthis_button_facebook"></a>
<a href class="addthis_button_twitter"></a>
<a href class="addthis_button_google_plusone_share"></a>
I resolved your original question regarding why your script wasn't loading: it involved your usage of
// and switching between
https. If your Ionic URL uses
// in your script src will try to also retrieve your script using
https, and it might not load.
Since you've edited, I've pointed out that
file:// will only work on your local file system. If you try to reference it from a server, it will still try to load resources from the client's machine.
If you need further help, I'd suggest posting another question.