angularjs ie8错误: no module found in ie8 but working fine in ie9

标签 angularjs

我正在使用 AngularJS 1.2.9 版本。

我的网站在 IE9 和其他浏览器中运行良好,但在 IE8 中它给了我这个错误:

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

我正在从我的脚本中自动引导模块。
我采用了 AngularJS 网站上的所有内容以实现 IE 兼容性:http://docs.angularjs.org/guide/ie

为什么这个错误只出现在 IE8 而不是 IE9?

最佳答案

我看到您找到了解决方案,但这是官方 angularjs 文档的一个提示:

AngularJS 1.3 已经放弃了对 IE8 的支持。 AngularJS 1.2 将继续支持 IE8,但核心团队不打算花时间解决特定于 IE8 或更早版本的问题。

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

关于angularjs ie8错误: no module found in ie8 but working fine in ie9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21901800/

相关文章:

javascript - 取消订阅 PubNub channel 以响应(之前)卸载事件

javascript - 当输入类型编号为字符串时,ng-model 会抛出错误 AngularJS

javascript - Ionic V1.3 - 选项卡 - 带条件的徽章样式 <ion-tab>

performance - 数据绑定(bind)对象的 Angular 性能限制 : Do I abandon AngularJS now?

javascript - Angular JS隐藏了ng-repeat的第一个元素

html - 更新 View 时执行特定于 View 的 javascript

javascript - NG1 : Class controller constructor vs $onInit for variable initialization and method bindings

javascript - 从 angularjs 对象数组中获取值,它仅返回最后一项

ruby-on-rails - 未捕获的类型错误 : Cannot read property 'apply' of null onReadyStateChangeReplacement

javascript - 如何在配置阶段使用工厂( Angular )