Angular 2 System is not defined.

Angular 2 System is not defined.

You can Try to include the System JS file in your HTML header file and resolve this error.

Include SystemJS Script.

<script src=""></script>

The Example for detail as given below.

index.html file

<!DOCTYPE html>

    <link rel="stylesheet" href="style.css" />
    <script src=""></script>
    <script src=""></script>
        paths: {




main.js file

import {Component, View, bootstrap} from 'angular2/angular2';

  selector: 'app',
  bindings: [Service]
  template: '{{greeting}} I am Anil!'
class App {
  constructor(service: Service) {
    this.greeting = service.greeting();
    setTimeout(() => this.greeting = 'Hi,', 2000);

class Service {
  greeting() {
    return 'Welcome you!';


The live demo example


Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..

My Tech Blog -
My Books - Book 1 and Book 2 Powered by Blogger.