title: Importing external components into angular2 quickstart project with typescript and npm
body: <p>I decided to try out angular2, and have been enjoying playing around with it while expanding upon the <a href="https://angular.io/docs/ts/latest/quickstart.html" rel="nofollow">quickstart in typescript</a> provided by angular.io (alpha 44). However I seem to have hit a snag, I am having a hard time importing new modules I got through node, more specifically the tooltip in ng2-bootstrap. I just can't seem to "get" how the quickstart project all works togheter, even if I have read up on systemjs, and tried tinkering around myself. I have tried various approach but always seem to hit a wall somewhere.</p>
  
  <p>I imported ng2-bootstrap though by doing:</p>
  
  <pre><code>npm i ng2-bootstrap --save
  </code></pre>
  
  <p>Followed by using an import and reference in the app.ts:</p>
  
  <pre><code>/// &lt;reference path="../../node_modules/ng2-bootstrap/ng2-bootstrap.d.ts"/&gt;
  import {tooltip} from 'ng2-bootstrap'
  </code></pre>
  
  <p>However it keeps looking in the 'src' folder which it does not do for the angular component when using import, why? Could anyone help me understand how things are linked togheter, and what I am not understanding?</p>
  
  <p>The error I get in the browser console is:</p>
  
  <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1:8080/src/ng2-bootstrap
  </code></pre>