Skip to content

Commit c193afa

Browse files
authored
docs(rc): Update DI tokens
1 parent 1787847 commit c193afa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/remote-config/getting-started.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,17 @@ Providing `DEFAULTS ({[key: string]: string | number | boolean})` tells `Angular
6666
## Putting it all together
6767

6868
```ts
69+
import { AngularFireRemoteConfigModule, DEFAULTS, SETTINGS } from '@angular/fire/remote-config';
70+
6971
@NgModule({
7072
imports: [
7173
AngularFireModule.initializeApp(environment.firebase),
7274
AngularFireRemoteConfigModule
7375
],
7476
providers: [
75-
{ provide: DEFAULT_CONFIG, useValue: { enableAwesome: true } },
77+
{ provide: DEFAULTS, useValue: { enableAwesome: true } },
7678
{
77-
provide: REMOTE_CONFIG_SETTINGS,
79+
provide: SETTINGS,
7880
useFactory: () => isDevMode() ? { minimumFetchIntervalMillis: 10_000 } : {}
7981
}
8082
]

0 commit comments

Comments
 (0)