Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular@5.0.0-beta.7 and typescript@2.4.2 need "private" (at least for services decorated with @Injectable) #2

Closed
csentis opened this issue Sep 27, 2017 · 0 comments

Comments

@csentis
Copy link

csentis commented Sep 27, 2017

Just FYI:

  1. Imported WindowTokenModule in AppModule,
  2. imported WINDOW in service,
  3. put @Inject(WINDOW) private _window: any into constructor.

=> Worked.

Thanks greatly, @maxisam. Starred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants