title: mat-step onclick event function
body: <p>wondering if it is possible to have a click event for the mat-step button. For each mat-step button, I would like to add a <code>(click)</code> event which calls a <code>method</code>. In other words, the mat-step button acts like a regular button.</p>
  
  <p>This is the mat-step:
  <a href="https://material.angular.io/components/stepper/overview" rel="noreferrer">https://material.angular.io/components/stepper/overview</a></p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;mat-step&gt;
  &lt;ng-template matStepLabel (click) = "createView()"&gt;Output&lt;/ng-template&gt;
  &lt;/mat-step&gt;
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Template parse errors:
     Event binding click not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations". ("eateView()" >Output--></p>
  </blockquote>