app.module.ts
import { GoogleChartsModule } from 'angular-google-charts';
@NgModule({
...
imports: [
...
GoogleChartsModule,
...
],
...
})
export class AppModule {}
app.config.ts
import {provideGoogleCharts} from "@qrsln/google-charts-angular";
export const appConfig: ApplicationConfig = {
providers: [
// ...
provideGoogleCharts({
version: 'current',
safeMode: true,
mapsApiKey: 'YOUR_API_KEY_HERE'
}),
]
};