Import the Ng2GoogleChartsModule in your app.module.ts:
In your templates, use the google-chart component like this:
and in the corresponding .ts file:
The value in dataTable will be passed to the setDataTable() method of
ChartWrapper (documentation).
If firstRowIsData is true, dataTable will be first passed to
arrayToDataTable(dataTable, true) (documentation).