mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(a11y): add all providers to forRoot (#2222)
* fix(a11y): add all providers to forRoot Adds all of the necessary providers to the `A11yModule`. Fixes #2189. * Remove redundant concat.
This commit is contained in:
committed by
Jeremy Elbourn
parent
db9608f875
commit
9272b4b275
@@ -16,7 +16,10 @@ export class A11yModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
ngModule: A11yModule,
|
||||
providers: A11Y_PROVIDERS,
|
||||
providers: [
|
||||
PlatformModule.forRoot().providers,
|
||||
A11Y_PROVIDERS,
|
||||
],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user