Angular filter by multiple properties
<p>I have  a ng-repeat element</p>

<p>My single element contains some properties</p>

<pre><code>{
name: 'full name',
email: 'aaa@bbb.cc',
partner_name: 'partner'
}
</code></pre>

<p>I want a single search that search in all fields.
The user can type the email or the partner name or the name.</p>

<p>My Code:</p>

<pre><code>    &lt;div class="row"&gt;
&lt;div class="col-xs-12"&gt; &lt;input type="text" ng-model="search.name"
                 placeholder="Quick Search user"
                 class="form-control" &gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div ng-repeat="el in contacts | filter:search" class='partner-panel animate-repeat'&gt;
    &lt;div class="alert " ng-class="css" &gt;
        &lt;div class="name"&gt;
            (&lt;span ng-bind="el.id"&gt; &lt;/span&gt;) &lt;span ng-bind="el.name"&gt;&lt;/span&gt;
        &lt;/div&gt;
        &lt;div ng-bind="el.email"&gt;
        &lt;/div&gt;
        &lt;div ng-bind="el.partner_name"&gt;
        &lt;/div&gt;

&lt;/div&gt;
</code></pre>