title: Importing all models from a folder in Angular 4
body: <p>I have a models folder with around 48 class files inside. I want to have all of these classes accessable within a service, and be able to create new instances of that class.</p>
  
  <p>i have tried </p>
  
  <pre><code>  import * from '../models'
  </code></pre>
  
  <p>but this does not seem to work.</p>
  
  <p>It has only worked for me if i individually import classes like this.</p>
  
  <pre><code>import {Permission} from "../models/permission";
  </code></pre>
  
  <p>How can i import everything from the Models folder? </p>