How to import exporting.js and export-data.js using angular2-highcharts and AOT compiler?
问题 I'm using angular2-highcharts and my chart works just fine, but I need to export the chart to XLS. All I need to achieve this is doing HighchartsExporting(Highcharts); HighchartsExportData(Highcharts); somewhere in the code, and the export options will show up by the chart. The problem is how to import HighchartsExporting and HighchartsExportData properly, because the standard solution @NgModule({ imports: [ BrowserModule, ChartModule.forRoot( require('highcharts'), require('highcharts