How do I apply a filter to a specific property in AngularJS?
<p>I found angular filter has <code>filter: value</code> but it would search whole string, for instance here is the data</p>

<pre><code>$scope.names = [
    {name:'Jani',country:'Norway'},
    {name:'Carl',country:'Sweden'},
    {name:'Margareth',country:'England'},
    {name:'Hege',country:'Norway'},
    {name:'Joe',country:'Denmark'},
    {name:'Gustav',country:'Sweden'},
    {name:'Birgit',country:'Denmark'},
    {name:'Mary',country:'England'},
    {name:'Kai',country:'Norway'}
  ];
</code></pre>

<p>I want to only display the names that have the letter 'e' in them. But it's also matching the countries with 'e' in the name.</p>

<p>How to I match to only a specific property in a filter?</p>