Skip to content

Commit

Permalink
fix(a11y): add all providers to forRoot (#2222)
Browse files Browse the repository at this point in the history
* fix(a11y): add all providers to forRoot

Adds all of the necessary providers to the `A11yModule`.

Fixes #2189.

* Remove redundant concat.
  • Loading branch information
crisbeto authored and jelbourn committed Dec 14, 2016
1 parent db9608f commit 9272b4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/core/a11y/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ export class A11yModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: A11yModule,
providers: A11Y_PROVIDERS,
providers: [
PlatformModule.forRoot().providers,
A11Y_PROVIDERS,
],
};
}
}

0 comments on commit 9272b4b

Please sign in to comment.