Skip to content

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

@hokrc01

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.

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