title: angularjs : filter an array with a combobox
body: <p>I know how to filter an array with an input text as the filter. 
  Is it possible to use the filter property of angularjs with a combobox as the filter options?</p>
  
  <p>For example, I have an array of years: [2014,2014,2013,1987,1987]
  I want to filter this array using a combobox with these values : {blank,2014,2013,1987}
  In this combobox, if I click on blank, the array displays the initial values, otherwise it displays the filtered values.</p>
  
  <p>The code below doesn't allow me to re init the array if I click on the first option of the Select tag :</p>
  
  <pre><code>&lt;select ng-model="search.date" ng-options="year for year in years"&gt;
          &lt;option value=""&gt;&lt;/option&gt;
  &lt;/select&gt;
  &lt;table class="table table-striped"&gt;
       &lt;thead&gt;
         &lt;tr&gt;
            &lt;th&gt;Label&lt;/th&gt;
            &lt;th&gt;Categorie&lt;/th&gt;
            &lt;th&gt;Montant&lt;/th&gt;
            &lt;th&gt;Date&lt;/th&gt;
         &lt;/tr&gt;
       &lt;/thead&gt;
       &lt;tbody&gt;
          &lt;tr ng-repeat="budget in filteredBudgets | filter:search:strict"&gt;
            &lt;td&gt;{{budget.label}}&lt;/td&gt;
            &lt;td&gt;{{budget.category}}&lt;/td&gt;
            &lt;td&gt;{{budget.real}}&lt;/td&gt;
            &lt;td&gt;{{budget.date}}&lt;/td&gt;
          &lt;/tr&gt;
       &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>