title: Add external CSS and JS links to a component in Angular 2
body: <p>In order to use "Bootstrap Select" <strong>only</strong> in my.component.ts, I tried use this:</p>
  
  <pre><code>@Component({
    templateUrl: 'my.component.html',
    styleUrls: [
          'my.component.css',
           //Bootstrap Select
          'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/css/bootstrap-select.min.css'
    ]
  })
  </code></pre>
  
  <p>I got this error :</p>
  
  <blockquote>
    <p>Can't resolve './<a href="https://cdnjs.cloudflare.com/" rel="nofollow noreferrer">https://cdnjs.cloudflare.com/</a>...'   in 'C:.....\app\components'</p>
  </blockquote>
  
  <p>It seems that angular 2 search for bootstrap in my folder. So can I tell him that it is an external URL?</p>
  
  <p>I am also need to add my js link: </p>
  
  <pre><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/js/bootstrap-select.min.js"&gt;&lt;/script&gt;
  </code></pre>