title: angularjs filtering multiple expressions
body: <p>I am new to angularjs and just wanted some help with filtering...</p>
  
  <p>I understand the basics of filtering (which is very basic) but what I want to do is filter using multiple expressions.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;body data-ng-init="phones = [{make:'Apple', model:'iPhone5'}, {make:'HTC', model:'One'}, {make:'Samsung', model:'GalaxyS4'}]"&gt;
      &lt;p&gt;my first angular app&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;filter&lt;/label&gt;&lt;input data-ng-model="phoneFilter.$" type="text"&gt;&lt;/p&gt;
      &lt;ul&gt;
          &lt;li data-ng-repeat="phone in phones | filter:phoneFilter"&gt;
              {{phone.make}} {{phone.model}} 
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Now if i filter 'apple' <strong>or</strong> 'iphone5' it works fine but if i type 'apple i' as soon as i start typing the model the filter is blank.</p>
  
  <p>Do I need to create a custom filter for this?</p>
  
  <p>Cheers</p>