Skip to content

Confusing behavior with provideAngularSplitOptions on angular-split@19.0.0 #516

@bbeyssac

Description

@bbeyssac

I was trying to use provideAngularSplitOptions(...) in a standalone Angular 19 app, in the ApplicationConfig.providers array. This caused a runtime error:

NullInjectorError: No provider for InjectionToken angular-split-global-config!

Link to reproduce the bug :
https://stackblitz.com/edit/angular-split-demo-v19-mhpzs53r?file=src%2Fmain.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions