title: Class is not an Angular module - only in IntelliJ/Webstorm when importing locally build Angular library
body: <p>I am trying to use Angular module implemented in a library (project) which exists in a separate Angular application. In IntelliJ I am getting an error <code>Class MyModule is not an Angular module</code> and all the library seems to not be recognized in IntelliJ while I can successfully run <code>ng build</code> for this project. Whats even more weird is that I have actually two Angular libraries existing in the other Angular app and I can use modules from the other library without issues.</p>
  
  <p>I've visited other similarly looking problems related to <code>class is not an Angular module</code> yet they does not seem to be related.</p>