title: How to clear ui-select-match stored value in angular?
body: <p>I am using the select and search functionality in my code and I want to reset the selected value from the <code>ui-select-match</code> automatically on form submit without clicking on cross button.</p>
  
  <p>I'm using the given code</p>
  
  <p></p>
  
  <pre><code>&lt;ui-select-match allow-clear="true" class="form-control-ui-select"  placeholder="{{'select_or_search' | translate}}"&gt;
        {{$select.selected.name  || $select.selected}}&lt;/ui-select-match&gt;
      &lt;ui-select-choices  repeat="state.id as state in stateList | filter: $select.search | limitTo:maxOptionSize"&gt;
        &lt;span ng-bind-html="state.name | highlight: $select.search"&gt;&lt;/span&gt;
      &lt;/ui-select-choices&gt;
    &lt;/ui-select&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/KDZdV.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KDZdV.jpg" alt="Output of the code"></a></p>