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:
Kristiyan Kostadinov
2016-12-14 23:33:02 +01:00
committed by Jeremy Elbourn
parent db9608f875
commit 9272b4b275
+4 -1
View File
@@ -16,7 +16,10 @@ export class A11yModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: A11yModule,
providers: A11Y_PROVIDERS,
providers: [
PlatformModule.forRoot().providers,
A11Y_PROVIDERS,
],
};
}
}