I have a service, called ConfigService in config.serivce.ts, i need to get a function (getClientID) that returns a value and import this value into a module file: appAuth.module.ts
I need to know how to inject a value from a service function in such a file?
for example in my appAuth.module.ts:
@NgModule({
imports: [
CommonModule,
AuthModule.forRoot<any>({
adapter: getClientID(),
})],
providers: [],
declarations: []
})
export class AppAuthModule { }