title: "Please add a @NgModule annotation" Error on Angular2
body: <p>I have made a custom angular2(5.0.x) module that looks like this :</p>
  
  <pre><code>import { GuageService } from './services/guage.service';
  import { NgModule } from '@angular/core';
  import { CommonModule } from '@angular/common';
  import { GuageComponent } from './guage/guage.component';
  
  @NgModule({
    declarations: [GuageComponent],
  
    imports: [
      CommonModule
    ],
  
    providers : [GuageService],
    exports : [GuageComponent]
  })
  export class GuageModule {}
  </code></pre>
  
  <p>I use it in my app modules like this:</p>
  
  <pre><code>import { BrowserModule } from '@angular/platform-browser';
  import { NgModule } from '@angular/core';
  import { DxButtonModule, DxCircularGaugeModule } from 'devextreme-angular';
  import { GuageModule } from '@kronsbi/bi-module-template';
  import { HttpClientModule } from '@angular/common/http';
  
  
      import { AppComponent } from './app.component';
  
          @NgModule({
            declarations: [
              AppComponent
            ],
            imports: [
              BrowserModule,
              DxButtonModule,
              DxCircularGaugeModule,
              HttpClientModule,
              GuageModule
            ],
            bootstrap: [AppComponent]
          })
          export class AppModule { }
  </code></pre>
  
  <p>When I try to start my app I get the following error.</p>
  
  <blockquote>
    <p>Unexpected value 'GuageModule' imported by the module 'AppModule'. Please add a @NgModule annotation.</p>
  </blockquote>
  
  <h3>UPDATE</h3>
  
  <p>tsconfig for the main app: </p>
  
  <pre><code>{
    "compileOnSave": false,
    "compilerOptions": {
      "outDir": "./dist/out-tsc",
      "sourceMap": true,
      "declaration": false,
      "moduleResolution": "node",
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "target": "es5",
      "typeRoots": [
        "node_modules/@types"
      ],
      "lib": [
        "es2017",
        "dom"
      ]
    }
  }
  </code></pre>
  
  <p>ts config for the GuageModule package:
  {</p>
  
  <pre><code> "compilerOptions": {
      "baseUrl": ".",
      "declaration": true,
      "stripInternal": true,
      "experimentalDecorators": true,
      "strictNullChecks": true,
      "noImplicitAny": true,
      "module": "es2015",
      "moduleResolution": "node",
      "paths": {
        "@angular/core": ["node_modules/@angular/core"],
        "rxjs/*": ["node_modules/rxjs/*"]
      },
      "rootDir": ".",
      "outDir": "dist",
      "sourceMap": true,
      "inlineSources": true,
      "target": "es5",
      "skipLibCheck": true,
      "lib": [
        "es2017", 
        "dom"
      ]
    },
    "files": [
      "index.ts"
    ],
    "angularCompilerOptions": {
      "strictMetadataEmit": true
    }
  }
  </code></pre>