title: Sharing class in angular module
body: <p>I would like to have in shared module class that I can import in other modules. Something like this:</p>
  
  <pre><code>import { SomeClass } from '/path/to/shared/module'
  </code></pre>
  
  <p>I want to avoid directly importing class like</p>
  
  <pre><code>import { SomeClass } from '/path/to/class'
  </code></pre>
  
  <p>Basically I want something like importing from packages in Java or from namespace in c#. I can find <em>only</em> using components, services or directives, from shared modules but no classes. I know I can use barrel files but this seems like better solution for my needs</p>