AngularJS fail to load module

后端 未结 6 1650
南方客
南方客 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:06

    We had the same issue only in IE. It was caused by a typo (some cat must have stepped on the keyboard):

    
    

    The leading space in the value of the type-Attribute was causing the problem. As soon as it was removed the app worked fine again.

提交回复
热议问题