title: How to filter a JSON in angular
body: <p>Say I have a JSON with the following structure:</p>
  <p><a href="https://i.stack.imgur.com/YlsMv.png" rel="nofollow noreferrer">JSON</a></p>
  <p>I have saved this JSON as a variable in my .ts and called it clients.</p>
  <p>How can I go through the JSON and fetch all data in it where id = 1? So I'd like to be able to isolate Bob and bob@gmail.com.</p>
  <p>Is there a way to do this within the .ts using for on this.clients? Or maybe in the .html with *ngFor? What would be the most simple solution in this case?</p>