title: Easy way to import classes in app.module.ts
body: <p>I have an Angular 8 project with a standard app.module.ts and I am using many components from Angular Material.
  Everytime I use a new componenttype, I have to add it in the app.module.ts twice. </p>
  
  <pre><code>[...]
  import {
  MatButtonModule,
  MatCardModule,
  MatInputModule,
  MatSnackBar} from '@angular/material'       &lt;---- First time
  [...]
  @NgModule({
      declarations: [
         [...]
      ],
      imports: [
      [...]
          MatButtonModule,
          MatCardModule,
          MatInputModule,
          MatSnackBar                          &lt;----- Second time
      ],
      [...]
  })
  export class AppModule {}
  </code></pre>
  
  <p>That sucks, and I think I saw some code once, where somebody created something like an object from the imports and than just added the object to the NgModule-Imports. Does anybody know what I am talking about?</p>