title: Angular2 Ngrx effects services load and hit twice my service
body: <p>I try to play with  Ngrx effects services, but it seems like it hit twice my request</p>
  
  <p>My dispatch</p>
  
  <pre><code>this.store.dispatch(new workspacesActions.LoadWorkspaceDetailsActions(this.id));
  </code></pre>
  
  <p>Effect service:</p>
  
  <pre><code>export class loadDetailsWorkspaceEffectSservice {
      constructor(private actions$: Actions, private WkService: WorkspacesService) {
  
      }
  
      @Effect() detailsWorkspace$: Observable&lt;Action&gt; = this.actions$
          .ofType(ActionTypes.LOADWOKSPACESINFOS)
          .switchMap(arg =&gt;
  
              this.WkService.getDetails(arg.payload))
          .map((workspace) =&gt; new workspacesActions.FetchWorkspaceDetailsActions(workspace) );
  }
  </code></pre>
  
  <p>My service</p>
  
  <pre><code> @Injectable()
  export class WorkspacesService {  
  public _getDetails;
  
          public getDetails(id: number) { 
          this.spinner.show()
          this._getDetails = this.http.get(config.apiWorkspacesDetailsURL + id, this.jwt())
              .share()
              .map((response: Response) =&gt; response.json())
              .catch(this.handleError)
              .finally(() =&gt;  this.spinner.hide());
  
          return this._getDetails;
      }
  }
  </code></pre>
  
  <p>My Actions</p>
  
  <pre><code>export class LoadWorkspaceDetailsActions implements Action {
    type = ActionTypes.LOADWOKSPACESINFOS;
      constructor(public payload?: any) { }
  }
  
  export class FetchWorkspaceDetailsActions implements Action {
    type = ActionTypes.FETCHWOKSPACESINFOS;
  
     constructor(public payload?: any) { }
  
  
  }
  </code></pre>
  
  <p>My reducer </p>
  
  <pre><code>...
  //////////////////
      case WorkspacesActions.ActionTypes.LOADWOKSPACESINFOS:
        return state;
  
      //////////////////
      case WorkspacesActions.ActionTypes.FETCHWOKSPACESINFOS:
        const resultWS = action.payload;
  
        return Object.assign(state, {
            workspaceDetails: resultWS.workspace
          });
  ...
  </code></pre>
  
  <p>I end up with two http request and 2 responses ! </p>
  
  <p>thanks for your help</p>