title: Angularjs (ionic) List swipe buttons
body: <p>I'm working with a list in angularjs with ionic and I want each item swipe to show options.  It's ok through here, but when I tap on one option I want to close the buttons again -- how can i do this in my controller?</p>
  
  <pre><code>$scope.listButtons = [{
      Text: "Download",
      Type: "button-assertive",
      onTap: function(file){
          //after tap hide buttons code here..
      }
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>File.hide();
  </code></pre>
  
  <p>And</p>
  
  <pre><code>this.hide();
  </code></pre>
  
  <p>But still cannot hide them </p>