title: Error: No Provider for Store! in @ngrx 4.x
body: <p>When migrating my project from @ngrx 2.x to 4.1.0, I encountered the error message</p>
  
  <blockquote>
    <p>NullInjectorError: No provider for Store!</p>
  </blockquote>
  
  <p>The store was imported as shown in the <a href="https://github.com/ngrx/platform/blob/master/MIGRATION.md" rel="noreferrer">docs</a>:</p>
  
  <pre><code>import { StoreModule as NgRxStoreModule } from '@ngrx/store';
  
  @NgModule({
    imports: [
      NgRxStoreModule.forRoot(reducerMap, {
        initialState: initial
      }),
      StoreRouterConnectingModule,
      EffectsModule.forRoot(effects)
    ],
    providers: [AppActions]
  })
  export class StoreModule {}
  </code></pre>