title: how to handle click function on ion-toggle
body: <p>here is my .html file</p>
  
  <pre><code>&lt;ion-item no-lines (click)="update()" &gt;
          &lt;ion-label&gt; Notification&lt;/ion-label&gt;
          &lt;ion-toggle [(ngModel)]="notify" &gt;&lt;/ion-toggle&gt;
      &lt;/ion-item&gt;
  </code></pre>
  
  <p>the above code works when i click on the <code>Notification</code> text but when i click on the <code>ion-toggle</code> i am not able to invoke the function what should i do to invoke the function.</p>
  
  <p>here is my .ts file</p>
  
  <pre><code>update(){
   console.log("invoking notification");
  }
  </code></pre>