問題タブ [angular1.6]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - エラー: ネットワーク ドライブからオフライン ファイルを開こうとすると、'angular' is undefined が発生しました
angular js v1.6.4、angular-ui-bootstrap、および angular-ui-router を使用して、オフライン フォーム (サーバー ホスティングなし) を作成しました。パッケージがローカル ストレージに保存されている場合、IE と chrome で問題なく動作します。
ファイル パッケージをネットワーク ドライブに移動した後、chrome では期待どおりに動作しますが、IE では動作せず、angular.module("ui.bootstrap"... で "Error: 'angular' is undefined" をスローします。
JS ファイルは、以下の順序でランディング ページに読み込まれます。