diff --git a/src/lib/slide-toggle/index.ts b/src/lib/slide-toggle/index.ts index 6220ea1fee2e..6c81e7460d4e 100644 --- a/src/lib/slide-toggle/index.ts +++ b/src/lib/slide-toggle/index.ts @@ -9,6 +9,7 @@ import {NgModule} from '@angular/core'; import {HAMMER_GESTURE_CONFIG} from '@angular/platform-browser'; import {PlatformModule} from '@angular/cdk/platform'; +import {ObserversModule} from '@angular/cdk/observers'; import {MdSlideToggle} from './slide-toggle'; import { FOCUS_ORIGIN_MONITOR_PROVIDER, @@ -19,7 +20,7 @@ import { @NgModule({ - imports: [MdRippleModule, MdCommonModule, PlatformModule], + imports: [MdRippleModule, MdCommonModule, PlatformModule, ObserversModule], exports: [MdSlideToggle, MdCommonModule], declarations: [MdSlideToggle], providers: [ diff --git a/src/lib/slide-toggle/slide-toggle.html b/src/lib/slide-toggle/slide-toggle.html index e1001c880499..b5125b3e90b3 100644 --- a/src/lib/slide-toggle/slide-toggle.html +++ b/src/lib/slide-toggle/slide-toggle.html @@ -1,6 +1,7 @@