Skip to content

Provide service using { providedIn: 'root' } #383

@adrdilauro

Description

@adrdilauro

Hi! Great module, it's such a breeze to be able to use a native Angular library rather than injecting buggy external ones

Would it be possible to provide the service via @Injectable({ providedIn: 'root' })? We would prefer it for our use case, in order to avoid letting the service pollute other bundles.

https://angular.io/guide/providers

Thanks for the attention!

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