title: Angular 2 Downgrade Component with Output Parameter to Angular 1
body: <p>I successfully managed to downgrade Angular 7 component to Angular 1, but I faced a little problem which I have tried to solve many ways.</p>
  
  <p>My downgraded component has output parameter as follows:</p>
  
  <pre><code>@Output()isValid = new EventEmitter&lt;boolean&gt;();
  </code></pre>
  
  <p>and it is triggered as follows:</p>
  
  <pre><code>this.isValid.emit(false);
  </code></pre>
  
  <p>In my Angular 1 component, I used it after downgrading it as follows:</p>
  
  <ul>
  <li>in template: </li>
  </ul>
  
  <pre><code>&lt;downgrade-employee-selector (is-valid)="{{vm.validateEmployeeSelector($event)}}"&gt; &lt;/downgrade-employee-selector&gt;
  </code></pre>
  
  <ul>
  <li>in ts:</li>
  </ul>
  
  <pre><code>self.validateEmployeeSelector = ($event) =&gt; {console.log($event);}
  </code></pre>
  
  <p>It is working fine but in the Angular 1 function <code>$event</code> value is always undefined and I can not understand how it is working.</p>