Skip to content

Commit

Permalink
fix(overlay): import BidiModule in OverlayModule (#7566)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored and kara committed Oct 6, 2017
1 parent fa441bc commit 4321f32
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/cdk/overlay/overlay-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
* found in the LICENSE file at https://angular.io/license
*/

import {NgModule, Provider} from '@angular/core';
import {BidiModule} from '@angular/cdk/bidi';
import {PortalModule} from '@angular/cdk/portal';
import {Overlay} from './overlay';
import {ScrollDispatchModule, VIEWPORT_RULER_PROVIDER} from '@angular/cdk/scrolling';
import {NgModule, Provider} from '@angular/core';
import {Overlay} from './overlay';
import {OVERLAY_CONTAINER_PROVIDER} from './overlay-container';
import {
ConnectedOverlayDirective,
MAT_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,
OverlayOrigin,
} from './overlay-directives';
import {OverlayPositionBuilder} from './position/overlay-position-builder';
import {OVERLAY_CONTAINER_PROVIDER} from './overlay-container';
import {ScrollStrategyOptions} from './scroll/scroll-strategy-options';

export const OVERLAY_PROVIDERS: Provider[] = [
Expand All @@ -28,7 +29,7 @@ export const OVERLAY_PROVIDERS: Provider[] = [
];

@NgModule({
imports: [PortalModule, ScrollDispatchModule],
imports: [BidiModule, PortalModule, ScrollDispatchModule],
exports: [ConnectedOverlayDirective, OverlayOrigin, ScrollDispatchModule],
declarations: [ConnectedOverlayDirective, OverlayOrigin],
providers: [OVERLAY_PROVIDERS, ScrollStrategyOptions],
Expand Down

0 comments on commit 4321f32

Please sign in to comment.