mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
77c382ccba
Extend the vocabulary of the `providedIn` to also include `'platform'` and `'any'`` scope.
```
@Injectable({
providedId: 'platform', // tree shakable injector for platform injector
})
class MyService {...}
```
PR Close #32154