title: Need to display alert message using Angular4 after clicking a checkbox
body: <p>I am new to Angular 4 framework. I need to show an alert message or pop up on clicking a checkbox. I am not getting any proper answer how to do it.</p>
  
  <p>below is the html snippet which I need to click</p>
  
  <pre><code>&lt;td width="15%"&gt;
              &lt;p-checkbox value ="Active" label="Active" [(ngModel)]="status"&gt;
   &lt;/p-checkbox&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>what I need to add in as component or in any other ts? Please help.</p>