Created
December 25, 2018 14:32
-
-
Save chsami/d0260566ef1496b015e86dd26d2ddde6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class MapModule { | |
static forRoot(mapConfig: IMapsConfig): ModuleWithProviders { | |
return { | |
ngModule: MapModule, | |
providers: [ {provide: MapsConfig, useValue: mapConfig} ] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment