mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 23:22:10 +08:00
Closes: - [Bug]: Angular: No provider for XXX #21052 - [Bug]: Angular: ControlValueAccessor is always set to null #21051 This is needed because services that are { providedIn: 'root' } are not being read into the root injector when coupled with standalone components. * [x] provide moduleMetadata.providers into the root injector, still being provided into the standalone component for overrides * [x] provide dependencies injected into components constructors into the root injector, in case they are providedIn: 'root' but they are missed by the standalone injector