Skip to content

Instantly share code, notes, and snippets.

@wKoza
Created December 26, 2016 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wKoza/f9c41f89daeb0d53b62178524353fd04 to your computer and use it in GitHub Desktop.
Save wKoza/f9c41f89daeb0d53b62178524353fd04 to your computer and use it in GitHub Desktop.
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