title: Angular with TypeScript: ReferenceError: System is not defined System.config
body: <p>I tried to install Angular 2 for TypeScript according to this tutorial: <a href="https://angular.io/guide/quickstart" rel="nofollow noreferrer">https://angular.io/guide/quickstart</a></p>
  
  <p>And I am getting this error:</p>
  
  <blockquote>
    <p>ReferenceError: System is not defined System.config</p>
  </blockquote>
  
  <p>I don't know how this happens.</p>
  
  <p>the folder structure:</p>
  
  <pre><code>project
  |-index.hml
  |-assets
      |-js
      |- jquery
      |-app
         |-app.component.js
         |-app.component.ts
         |-app.component.js.map
         |-main.js
         |-main.ts
         |-main.js.map
  </code></pre>