ng2-charts not working with angularjs2 webpack
<p>I am trying to use ng2-charts with angularjs 2:</p>

<p>in app.ts :</p>

<pre><code>import { Component } from '@angular/core';
import { ApiService } from './shared';
import { ChartsModule } from 'ng2-charts/ng2-charts';
</code></pre>

<p>my file html : </p>

<pre><code>       &lt;canvas baseChart
        [datasets]="barChartData"
        [labels]="barChartLabels"
        [options]="barChartOptions"
        [legend]="barChartLegend"
        [chartType]="barChartType"
        (chartHover)="chartHovered($event)"
        (chartClick)="chartClicked($event)"&gt;
       &lt;/canvas&gt;
</code></pre>

<p>in webpack.config.js
   alias: {
    'ng2-charts': 'node_modules/ng2-charts'
    }</p>

<p>the error in browser or when execute npm test is : </p>

<pre><code>Can't bind to 'datasets' since it isn't a known property of 'canvas'. ("

 &lt;canvas baseChart
            [ERROR -&gt;][datasets]="barChartData"
            [labels]="barChartLabels"
            [options]="barChartOption"): AppComponent@10:12
Can't bind to 'labels' since it isn't a known property of 'canvas'. ("
 &lt;canvas baseChart
            [datasets]="barChartData"
            [ERROR -&gt;][labels]="barChartLabels"
            [options]="barChartOptions"
            [legend]="barChartLegen"): AppComponent@11:12
Can't bind to 'options' since it isn't a known property of 'canvas'. ("
            [datasets]="barChartData"
            [labels]="barChartLabels"
            [ERROR -&gt;][options]="barChartOptions"
            [legend]="barChartLegend"
            [chartType]="barChartTy"): AppComponent@12:12
Can't bind to 'legend' since it isn't a known property of 'canvas'. ("
            [labels]="barChartLabels"
            [options]="barChartOptions"
            [ERROR -&gt;][legend]="barChartLegend"
            [chartType]="barChartType"
            (chartHover)="chartHover"): AppComponent@13:12
Can't bind to 'chartType' since it isn't a known property of 'canvas'. ("
            [options]="barChartOptions"
            [legend]="barChartLegend"
            [ERROR -&gt;][chartType]="barChartType"
            (chartHover)="chartHovered($event)"
            (chartClick)=""): AppComponent@14:12 in karma-shim.js (line 12563)
</code></pre>