241 Views

Ben Nadel demonstrates how he uses an intermediary InjectionToken to take .forRoot() feature module options and translate them into proper Types so that he can then use the Dependency-Injection container to inject an "Options" Type without having to rely on unattractive @Inject() meta-data.