title: Angular add button content to array on click
body: <p>so What I want is, on button click add item.name to a new array : </p>
  
  <pre><code>&lt;button (click)="addDistrict(item.name)" *ngFor="let item of items" ion-button&gt;{{item.name}}&lt;/button&gt;
  
  myDist = [];
  
  addDistrict(item.name){
     this.myDist.push(item.name)
    }
  </code></pre>
  
  <p>How to do that properly ?</p>