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

Kokulan
  • 1,316
  • 3
  • 19
  • 35

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
  • 42,438
  • 18
  • 116
  • 138
Yoav Schniederman
  • 5,253
  • 3
  • 28
  • 32