ng2-bootstrap Uncaught ReferenceError when adding the script

I’m trying to add ng2-bootstrap to my project. I try adding the script, adding the cdn. But I always get the same error:

ng2-bootstrap.js:1 Uncaught ReferenceError: System is not defined ng2-bootstrap.js:1

I saw that other people is having the same error, but no answer yet.

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jason Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Jason
Guest

I found that you need to have system.js in your project: