title: How to get route params inside ngrx effects using ngrx-router-store?
body: <p>I am having effect class where I want to load details based on router params ID</p>
  
  <pre class="lang-js prettyprint-override"><code>@Effect()
    getDetails$ = this.actions$.ofType(DetailActions.GET_DETAILS).pipe(
      map(toPayload),
      switchMap(payload =&gt; {
        return this.detailService
          .getDetail(payload)//I want router params here in payload
          .pipe(
            map(detail=&gt; new DetailActions.GetDetailSuccess(detail)),
            catchError(error =&gt;
              Observable.of(new DetailActions.GetDetailFail(error))
            )
          );
      })
    );
  </code></pre>
  
  <p>I want to get router params in payload, so that I don't have to pass payload from component but directly get it from effects class.</p>