AngularJS fail to load module

后端 未结 6 1630
南方客
南方客 2021-01-04 04:43

EDIT: This only happens with IE (tested on IE10)

I have a app that loads fine initially, however, when refreshed it gives this error:

SCRIPT50

6条回答
  •  日久生厌
    2021-01-04 05:16

    By the way, using Angular 1.0.6, loading jQuery before angular (hardcoded script tags) causes IE10 to throw 'no Module' error.

    The only option I could find to correct it is to manually bootstrap and ensure my app.js that defines the module was loaded after all other child module references (like Barnabas mentioned).

提交回复
热议问题