title: Clear input in Angular with button, but same button is also used as part of ng-show
body: <p>First of all, I can imagine the subject of this question is not very clear, so sorry for that. 
  I am using a button with ng-click to display an input (ng-show) and two other buttons(send, cancel). For hiding the input again I use the "cancel" button. But I also would like to clear the value of the input. The problem is that I dont know how to invoke the clear function as well as the hiding the input again with the same button. 
  Here is my code:</p>
  
  <pre><code>    &lt;button class="btn-share" ng-click="showme = !showme" clickng-class="{true: 'hideBtn', false: 'btn btn-xs btn-danger'}[showme]"&gt;
      show input.
      &lt;/button&gt;
  
      &lt;div class="form-group" ng-show="showme"&gt;
          &lt;input id="myInput2" class="typeahead" sf-typeahead type="text" datasets="userDataset" ng-model="searchUser" &gt;
          &lt;button ng-click="showme=false" class="btn btn-xs"&gt;Cancel&lt;/button&gt;
          &lt;button ng-click="send()" class="btn btn-success btn-xs btn-sent"&gt;Send&lt;/button&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>    $scope.showme = false;
  </code></pre>