title: ionic2 AlertController, how to return the buttons clicked value from method
body: <p>I m fairly new in <code>Typescript</code>, I have following code in provider</p>
  
  <pre><code>...
  confirm(message, title=""){
          let confirm = this.alertCtrl.create({
              title: title || "Please confirm",
              message: message,
              buttons: [
                  {
                    text: 'Yes',
                    handler: () =&gt; {
                      return true;
                    }
                  },
                  {
                    text: 'No',
                    handler: () =&gt; {
                      return false;
                    }
                  }
                ]
          });
  
          confirm.present();
      }
  </code></pre>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>There is a button in a page, which calls a function <code>deleteItems</code> </p>
  
  <pre><code>deleteItems(){
      this.popup.confirm("Are you sure you want to delete this item");
      if(this.popup.isTrue == true){
            //delete items
       }
  
  }
  </code></pre>
  
  <p>I want the <code>confirm</code> method to return true or false depending upon the button "Yes" or "No" clicked.</p>
  
  <p>Can anybody tell me how to achieve this?</p>