0

I have added es6shim as well but i'm getting above error on IE11 and the angular2 app is not working.

enter image description here

kohli
  • 1,191
  • 2
  • 16
  • 33

1 Answers1

0

Try adding the following to index.html:

    <!doctype html>
    <html lang="en">
    <script src="https://raw.githubusercontent.com/angular/angular/66df335998d097fa8fe46dec41f1183737332021/shims_for_IE.js" type="text/plain"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-sham.js" type="text/plain"></script>
yivi
  • 1
  • 16
  • 86
  • 115
Yoav Schniederman
  • 4,815
  • 2
  • 22
  • 31