Skip to content

Commit 7b90d62

Browse files
jelbournmmalerba
authored andcommitted
chore(sidenav): add providers to sidenav forRoot (#2094)
1 parent 03e90db commit 7b90d62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/sidenav/sidenav.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from '@angular/core';
1818
import {CommonModule} from '@angular/common';
1919
import {Dir, coerceBooleanProperty, DefaultStyleCompatibilityModeModule} from '../core';
20-
import {A11yModule} from '../core/a11y/index';
20+
import {A11yModule, A11Y_PROVIDERS} from '../core/a11y/index';
2121
import {FocusTrap} from '../core/a11y/focus-trap';
2222

2323

@@ -470,7 +470,7 @@ export class MdSidenavModule {
470470
static forRoot(): ModuleWithProviders {
471471
return {
472472
ngModule: MdSidenavModule,
473-
providers: []
473+
providers: [A11Y_PROVIDERS]
474474
};
475475
}
476476
}

0 commit comments

Comments
 (0)