title: How to extract data from Behaviour Subject in Angular service?
body: <p>The objective behind using BehaviouSubject was to use a single API call and pass the same data to multiple components in the same route.
  I am able to do that. I am not able to filter the received data</p>
  
  <p>Heres a stackblitz fiddle that i have created</p>
  
  <p><a href="https://stackblitz.com/edit/angular-xtne5y" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-xtne5y</a></p>
  
  <p>In one component, i am displaying the table, in the other, i need to extract some info out of it based on the individual object key values. Like how many todos are complete / incomplete.
  Since I am required to use the async pipe everywhere in the template, performing operations like filter are not possible.
  Is there a better way to implement this?</p>
  
  <p>I need to keep the data extracted as reusable</p>