title: NullInjectorError: No provider for NgZone
body: <p>I've created angular library with material design (package.json below)</p>
  
  <pre><code>{
    "name": "angular-lib",
    "version": "0.0.0",
    "license": "UNLICENSED",
    "dependencies": {
      "@angular/core": "^5.2.0",
      "@angular/common": "^5.2.0",
      "@angular/material": "^5.0.4",
      "@angular/forms": "^5.2.0",
      "@angular/animations": "^5.2.0",
      "@angular/cdk": "^5.0.4",
      "@angular/platform-browser": "^5.2.0",
      "zone.js": "^0.8.20"
    }
  }
  </code></pre>
  
  <p>When I include in this library:</p>
  
  <pre><code>import { NoopAnimationsModule } from '@angular/platform-browser/animations';
  import { MatCardModule, MatCommonModule } from '@angular/material';
  </code></pre>
  
  <p>and when inside this library everything is imported</p>
  
  <pre><code>@NgModule({
    imports: [
      CommonModule,
      NoopAnimationsModule,
      MatCardModule
    ],
  ...
  </code></pre>
  
  <p>I am getting error:</p>
  
  <pre><code>Error: StaticInjectorError(AppModule)[ApplicationRef -&gt; NgZone]: 
    StaticInjectorError(Platform: core)[ApplicationRef -&gt; NgZone]: 
      NullInjectorError: No provider for NgZone!
      at _NullInjector.webpackJsonp../node_modules/@angular/core/esm5/core.js._NullInjector.get (core.js:994)
      at resolveToken (core.js:1292)
      at tryResolveToken (core.js:1234)
      at StaticInjector.webpackJsonp../node_modules/@angular/core/esm5/core.js.StaticInjector.get (core.js:1102)
      at resolveToken (core.js:1292)
      at tryResolveToken (core.js:1234)
      at StaticInjector.webpackJsonp../node_modules/@angular/core/esm5/core.js.StaticInjector.get (core.js:1102)
      at resolveNgModuleDep (core.js:10836)
      at _createClass (core.js:10881)
      at _createProviderInstance$1 (core.js:10847)
  </code></pre>