My angular.js applications works fine on Windows OS when using Google Chrome, Mozilla Firefox and Microsoft Edge.
It fails to load when using Internet Explorer and Safari.
When using macOS, it fails to load when using both Safari and Chrome.
Any idea what could be the cause of this?
I am using a script loader call yepnope
to load all my JS files.
yepnope
works like jQuery (ajax). However, in my case, it throws an exception on some browsers and devices.
I was able to figure out the answer.
After compiling some of the JS files into a single file, the 'use strict' directive was included in the compiled JS file. This seems to have caused the issue.