Works in browser but not on device

Anybody else have this issue? It is so frustrating! I have a modal that pops up perfectly fine in the browser, but does not pop up when i test it on my device. I feel like IONIC should be better than this, and past these issues since it is a “stable” release.

did you some debugging on you device? sounds like a javascript error in your code.
you can debug your android phone with chrome - remote inspector.

or show us some code

I fixed it. Only thing i changed was putting the modal in the page using
script id=“userModal.html” type="text/ng-template"
instead of referencing a file. Everything worked fine debugging in the browser but did not work on my device. Are you supped to be able to use either or?