Angularjs ie8 error: module not found in ie8, but working fine in ie9

I am using AngularJS version 1.2.9.

My site works fine in IE9 and other browsers, but in IE8 it gives me this error:

[$injector:nomod] http://errors.angularjs.org/1.2.9/$injector/nomod?p0=moduleName

I automatically load the module from my script. I applied everything from the AngularJS website for compatibility with IE: http://docs.angularjs.org/guide/ie

Why does this error only occur in IE8, but not in IE9?

+4
source share
1 answer

I see that you have found a solution, but here is one tip for the angularjs official documentation:

AngularJS 1.3 has dropped IE8 support. AngularJS 1.2 will continue to support IE8, but the core team does not plan to spend time resolving issues specific to IE8 or earlier.

: https://docs.angularjs.org/guide/ie

+1

Source: https://habr.com/ru/post/1527844/


All Articles