title: Angular 2 - Pass data from parent component to child component on button clicked at parent component
body: <p>At parentComponenet.html</p>
  
  <pre><code>&lt;/div&gt;&lt;button(click)="discoverClicked()"&gt;Discover&lt;/button&gt;&lt;/div&gt;
  &lt;child-component&gt;&lt;/child-component&gt;
  </code></pre>
  
  <p>At parentComponent.ts</p>
  
  <pre><code>export class parentComponent implements OnInit {
      discoverClicked(){
         //send data to childComponent
      }
  }
  </code></pre>
  
  <p>At childComponent.ts</p>
  
  <pre><code>export class childComponent implements OnInit {
      discoverClicked(){
         //received data from parent component
      }
  }
  </code></pre>
  
  <p>Is there a way to do as per described above?</p>