Mostafa Sherif 949ac70bf7 fix(angular): provide constructor dependencies
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
2023-02-11 17:43:10 -05:00
..