mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6414590f8d
This commit makes the `RadioControlRegistry` class tree-shakable by adding the `providedIn` property to its `@Injectable` decorator. Now if the radio buttons are not used in the app (thus no `RadioControlValueAccessor` directive is initialized), the `RadioControlRegistry` should not be included into application's prod bundle. PR Close #41126