问题
I've been trying to run an Angular 2 application as a template but while it works really well in Chrome and after adding polyfills it worked on IE 10 and 11 I'm struggling to get it working in IE9!
I added Shims polyfills for IE.
<!--[if IE]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.3/es6-shim.js"></script>
<script src="node_modules/systemjs/dist/system-polyfills.js"></script>
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/2014.01.31/classList.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/blob-polyfill/1.0.20150320/Blob.min.js"></script>
<script type="text/javascript" src="assets/js/typedarray.js"></script>
<script type="text/javascript" src="assets/js/formdata.js"></script>
<![endif]-->
I am getting this error http://prntscr.com/eeytvq
来源:https://stackoverflow.com/questions/42548126/angular-2-is-not-working-on-ie-9