title: How to add a third party library when using angular-cli?
body: <p>I wanted to try out creating an Angular 2 app with angular-cli (<a href="https://github.com/angular/angular-cli">https://github.com/angular/angular-cli</a>) and then use ng2-material (<a href="https://github.com/justindujardin/ng2-material">https://github.com/justindujardin/ng2-material</a>) for UI components. But I just don't understand how / where I have to include the ng2-material library in order to use it.</p>
  
  <p>I created a project with <code>ng new myproject</code> then I started the server with <code>ng serve</code> and opened the webpage which just worked out fine. Next step, I installed ng2-material with <code>npm install ng2-material --save</code>. Then I added <code>MATERIAL_PROVIDERS</code> to angular's bootstrap as is shown here <a href="https://github.com/AngularShowcase/angular2-seed-ng2-material/blob/master/app/bootstrap.ts">https://github.com/AngularShowcase/angular2-seed-ng2-material/blob/master/app/bootstrap.ts</a>.</p>
  
  <p>This results in an error message <code>GET http://localhost:4200/ng2-material/all 404 (Not Found)</code> in the web browser, and I just can't figure out how to get rid of it.</p>
  
  <p>angular-cli seems to be doing something to create a <code>dist</code>-folder where some of the node modules that are used in the index.html end up in, but I don't see where or how that's configured.</p>