From 718b3933362f0ab3be1cb435fdf9958564088140 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Thu, 27 Jul 2017 11:35:37 +0300 Subject: [PATCH] fix(paginator): remove dependency on @angular/forms Since it's now possible to use `md-select` without `ngModel`, we can remove the dependency on `@angular/forms` from the paginator. Fixes #5717. --- src/lib/paginator/index.ts | 2 -- src/lib/paginator/paginator.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/paginator/index.ts b/src/lib/paginator/index.ts index c6c8fab4d9ea..f041a209dd8d 100644 --- a/src/lib/paginator/index.ts +++ b/src/lib/paginator/index.ts @@ -8,7 +8,6 @@ import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; -import {FormsModule} from '@angular/forms'; import {MdButtonModule} from '../button/index'; import {MdSelectModule} from '../select/index'; import {MdPaginator} from './paginator'; @@ -19,7 +18,6 @@ import {MdTooltipModule} from '../tooltip/index'; @NgModule({ imports: [ CommonModule, - FormsModule, MdButtonModule, MdSelectModule, MdTooltipModule, diff --git a/src/lib/paginator/paginator.html b/src/lib/paginator/paginator.html index 6460253a460d..817e01cbcd34 100644 --- a/src/lib/paginator/paginator.html +++ b/src/lib/paginator/paginator.html @@ -5,7 +5,7 @@