title: How to filter ng-repeat values based on another input ng-model value in angularjs?
body: <p>repeat values based on another input ng-model value in angularjs?</p>
  
  <ul>
  <li><p>I have one input value like <code>Social Psychology</code> for this value <code>ng-model is kpcategory</code></p></li>
  <li><p>I have used ng-repeat like <code>ng-repeat="question in questions</code> to list out the all <code>category</code> and <code>name</code>.</p></li>
  <li>I tried to filter <code>Social Psychology</code> category in <code>ng-repeat</code> list, so i used like <code>ng-repeat="question in questions | filter:kpcategory"</code>.</li>
  <li>what the issue is, it's filtering <code>Social Psychology</code> data's perfectly. but i would like to filter only the category value of <code>Social Psychology</code> not for all data's. the issue is  it's filtered includes of <code>category and category_two</code>data's.</li>
  </ul>
  
  <p><strong>Expecting result is:-</strong></p>
  
  <ul>
  <li><p>just want to filter by <code>catgory</code> <code>Social Psychology</code> so result should be <code>Social Psychology , John</code> data.</p></li>
  <li><p><a href="http://plnkr.co/edit/gfpwhjvGQrQUSQpbMi5m?p=preview" rel="nofollow noreferrer">My Plunker For Reference</a></p></li>
  <li><p>we don't how to solve this issue please help us thanks.</p></li>
  </ul>