Created
December 26, 2016 11:10
-
-
Save wKoza/f9c41f89daeb0d53b62178524353fd04 to your computer and use it in GitHub Desktop.
This file contains 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
import { NgModule } from '@angular/core'; | |
import { UserService } from './user.service'; | |
import { LogService } from './log.service'; | |
@NgModule({ | |
imports: [LogService, UserService] | |
}) | |
class AppModule { | |
constructor(logService: LogService, userService: UserService) { | |
logService.initialize().then(() => userService.initialize()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment