title: Action with parameter or parameter from router-store
body: <p>Problem:</p>
  
  <p>I have component and url such as:</p>
  
  <p><code>https://127.0.0.0/car/carName1/view1</code></p>
  
  <p>and</p>
  
  <pre><code>ngOnInit(): void {
      this.store$.dispatch(Actions.loadView());    
    }
  </code></pre>
  
  <p>This dispatch action, and effect gets single view from the service and add it to collection </p>
  
  <p>state will look like this:</p>
  
  <pre><code>{
    views: {
  
       view1: {
          data: []
       }
  
       view2: {
          data: []
       }
    }
  }
  </code></pre>
  
  <p>Now, inside same component I need to fetch more from view which contains more data I need, or in other words I need to select some that from it</p>
  
  <pre><code>    ngOnInit(): void {
          this.data$ = this.store$.select(Selectors.selectMoreData);
          this.store$.dispatch(Actions.loadView());    
        }
  </code></pre>
  
  <p>Problem is that <code>Selectors.selectMoreData</code> needs view name/key.
  Because state has more views than just one single for current component.</p>
  
  <p>What possibilities I have? Like in effects use router-store and get key from url? Or should I step back because this is totally wrong.</p>