Angular2 : trouble in integrating ng2-select
<p>I am facing really tough problem and I hope anybody can help me! I already find a lot of question here about the same problem but I applied what found as solution but it is still not working!</p>

<p>So I have a application in Angular 2 and I am trying to integrate the ng2-select and it's returning the boring error:</p>

<blockquote>
  <p>angular2-polyfills.js:332 Error: SyntaxError: Unexpected token &lt;</p>
</blockquote>

<p>I know everybody is telling that it's a problem with my System.config but I can't solve it!</p>

<p>So there is my code!</p>

<p><strong>System.config</strong></p>

<pre><code>System.config({
map: {
    'ng2-bootstrap': 'node_modules/ng2-bootstrap',
    'ng2-select': 'node_modules/ng2-select'
},
packages: {
    src: {
        format: 'register',
        defaultExtension: 'js'
    }
}
});
System.import('src/main').then(null, console.error.bind(console));
</code></pre>

<p><strong>main.ts</strong></p>

<pre><code>import {bootstrap} from 'angular2/platform/browser';
import {AppComponent} from "./components/app/app.component";

import 'ng2-select';
import 'ng2-bootstrap';

bootstrap(&lt;any&gt; AppComponent);
</code></pre>

<p><strong>my Component</strong></p>

<pre><code>import {Component} from 'angular2/core';
import {select} from "ng2-select";

@Component({
    templateUrl: 'src/views/lead/lists.view.html',
    directives: [select],
})
export class LeadListsComponent {
    team: string = "Ringo";
    teams: string[] = ["John", "Paul", "George", "Ringo"];
}
</code></pre>

<p><a href="https://i.stack.imgur.com/GlzXJ.png" rel="nofollow noreferrer">I have the files on the node_modules/ng2-angular properly I think! There is the print</a></p>

<p>But there is only TS files... could be that the problem? What should I do?</p>

<p><strong>-----UPDATE-----</strong></p>

<p>There is my tsconfig.json as well!</p>

<pre><code>{
    "compilerOptions": {
        "target": "es5",
        "module": "system",
        "moduleResolution": "node",
        "sourceMap": true,
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "removeComments": false,
        "noImplicitAny": false
    },
    "exclude": [
        "node_modules",
        "typings/main",
        "typings/main.d.ts"
    ]
}
</code></pre>

<p>Thanks in advance!</p>