title: How to use a custom Angular module in different projects
body: <p>I want to create a common module which will contain components like login, sidebar etc and pipes, services, directives.</p>
  
  <pre><code>@NgModule({
    declarations: [
      AppComponent,
      LoginComponent,
      SidebarComponent,
      InitialsPipe
    ],
    imports: [
      BrowserModule,
      FormsModule,
      HttpModule
    ],
    bootstrap: [AppComponent]
  })
  export class CompanyCommonModule { }
  </code></pre>
  
  <p>Now, I want to use it in other projects like:</p>
  
  <pre><code>import { CompanyCommonModule } from 'company-common-module';
  </code></pre>