title: Angular 5 Update Parent Component value from child Component
body: <p><strong>Child Component TS</strong></p>
  
  <pre><code>import { Component, OnInit, Input, Output } from '@angular/core';
  import { EventEmitter } from 'events';
  
  export class ChildComponent implements OnInit {
      @Output() OpenScheduleCall = new EventEmitter&lt;boolean&gt;();
  
      onLog() {
            this.OpenScheduleCall.emit(false);
      }
  }
  </code></pre>
  
  <p><strong>parent Component HTML :</strong></p>
  
  <pre><code>&lt;div [(hidden)]="OpenScheduleCall"&gt;
  // content
  &lt;/div&gt;
  &lt;app-schedule-call *ngIf="!!OpenScheduleCall" [prospectid]='prospectid'  [(OpenScheduleCall)]="OpenScheduleCall"&gt;&lt;/app-schedule-call&gt;
  </code></pre>
  
  <p>I am setting the values in child component but changes are not reflecting in parent component</p>