Shim(s) / Pollyfill(s) to make angular2 app work on older browsers (IE 9+)
^ It can be used as a temporary workaround for now, until the underlying libraries are fixed to include this polyfill(s).
Note: It has been pulled from:
raw url: https://raw.githubusercontent.com/angular/angular/66df335998d097fa8fe46dec41f1183737332021/shims_for_IE.js
i.e., we have named it as [email protected]
cdn url: https://unpkg.com/[email protected]/es6/dev/src/testing/shims_for_IE.js
i.e., we have named it as [email protected], shims_for_IE.dev.js & shims_for_IE.prod.js
You can install this package with npm
, bower
or manually download as zip
$ npm install angular2-ie9-shims
$ bower install angular2-ie9-shims
Add a <script>
into to your .html
file:
Note: Always use the latest one.. (i.e., from below top one is the latest.)
<script src="/path/to/angular2-ie9-shims/[email protected]"></script>
<script src="/path/to/angular2-ie9-shims/[email protected]"></script>
OR
<script src="/path/to/angular2-ie9-shims/shims_for_IE.dev.js"></script>
OR
<script src="/path/to/angular2-ie9-shims/shims_for_IE.prod.js"></script>
MIT in LICENSE file.