title: Angular 2 failure to load resources
body: <p>I am trying to use ag-grid in an angular2 app. I have followed angular2-quickstart tutorial and was successfully able to get the app running. After this for my project I am trying to get a grid for which I found this tutorial <a href="http://4dev.tech/2016/02/tutorial-angular-2-datatable-with-sorting-filtering-and-resizable-columns/" rel="nofollow">http://4dev.tech/2016/02/tutorial-angular-2-datatable-with-sorting-filtering-and-resizable-columns/</a>. I followed the tutorial and there are some changes the way angular module is referenced here than in my code. </p>
  
  <pre><code>import { Component } from '@angular/core';
  import {AgGridNg2} from 'ag-grid-ng2/main';
  </code></pre>
  
  <p>and in the link above it has been mentioned as </p>
  
  <pre><code>import {Component} from 'angular2/core';
  import {AgGridNg2} from 'ag-grid-ng2/main';
  </code></pre>
  
  <p>I have my code in this git hub link <a href="https://github.com/svidya/ag-grid" rel="nofollow">https://github.com/svidya/ag-grid</a> </p>
  
  <p>I am having these errors </p>
  
  <p>Uncaught TypeError: System.registerDynamic is not a function angular2-polyfill.js:1 </p>
  
  <p><a href="http://localhost:3000/app/app.component" rel="nofollow">http://localhost:3000/app/app.component</a> Failed to load resource: the server responded with a status of 404 (Not Found)</p>
  
  <p>angular2.dev.js:136 Error: Error: XHR error (404 Not Found) loading <a href="http://localhost:3000/app/app.component" rel="nofollow">http://localhost:3000/app/app.component</a>
          at Zone.run (<a href="http://localhost:3000/node_modules/angular2-build/angular2.dev.js:136:17" rel="nofollow">http://localhost:3000/node_modules/angular2-build/angular2.dev.js:136:17</a>)
          at XMLHttpRequest.zoneBoundFn (<a href="http://localhost:3000/node_modules/angular2-build/angular2.dev.js:109:19" rel="nofollow">http://localhost:3000/node_modules/angular2-build/angular2.dev.js:109:19</a>)
      Error loading <a href="http://localhost:3000/app/app.component" rel="nofollow">http://localhost:3000/app/app.component</a> as "./app.component" from <a href="http://localhost:3000/app/main.js" rel="nofollow">http://localhost:3000/app/main.js</a></p>
  
  <p>Failed to load resource: <a href="http://localhost:3000/node_modules/@angular/platform-browser-dynamic.js/platform-browser-dynamic.umd.js" rel="nofollow">http://localhost:3000/node_modules/@angular/platform-browser-dynamic.js/platform-browser-dynamic.umd.js</a> the server responded with a status of 404 (Not Found)</p>