Skip to content

Problem with Passing data to the service using dependnancy injection #5

Description

@hokrc01

First, great tutorial. I am having the same problem, Ross Rowlins reported. Specifically, unless I explicitly put a provide in the app.component.ts providers: [DialogService, DialogConfig]

I get the following error :
ERROR NullInjectorError: R3InjectorError(AppModule)[DialogService -> DialogService -> DialogService]:
NullInjectorError: No provider for DialogService!

Thanks for the additional insight.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions