I'm working on an AngularJS app that will have a hosted version and one that can be downloaded. The downloaded version should be accessible with 'file' protocol.
I've encountered several issues when trying to accomplish this. And have overcome quite a bit.
One issue that I am struggling with is enabling html5Mode on the hosted version, while disabling it on the downloaded file version.
Is it possible to set html5Mode based on what location protocol is being used?