title: Binding input selection to dropdown Angularjs
body: <p>Hi I have following input </p>
  
  <p><code>&lt;input type="text" class="form-controlb" ng-model="item.name" id="name" placeholder="Enter Name" /</code>></p>
  
  <p>And following dropdown </p>
  
  <pre><code>                &lt;div class="col-sm-12" ng-model="query"&gt;
                      &lt;select ng-model="item" class="form-control" ng-options="a.name for a in addemployees | filter:name | orderBy:'name'" value="{{a.name}}"&gt;
                          &lt;option value=""&gt;[Select Employee..]&lt;/option&gt;
  
                      &lt;/select&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>Basically what I am trying to do is, when I enter name in the input box if dropdown has that name ints options to show it in dropdown.
  I tried to do do filter by name and than orderby name but it doesnt show any on dropdown as selection. 
  Please let me know how to fix it. 
  Thanks </p>