title: How to get access to child component object in Angular
body: <p>I have parent component <code>id="componentOne"</code> where is included another child component <code>&lt;app-buttons&gt;</code>:</p>
  
  <pre><code>&lt;div id="componentOne"&gt;
      &lt;app-buttons
      [component]="'WeeklyScheduleComponent'"
      [buttonTypes]="['add', 'filter']"
      [position]="'right-bottom'"
    &gt;&lt;/app-buttons&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Inside component <code>app-buttons</code> there is:</p>
  
  <pre><code> ngOnInit() {
      this.buttonUsage = new ButtonUsage(this.component, this.buttonTypes);
    }
  </code></pre>
  
  <p>So, how to get access to <code>this.buttonUsage</code> from parent component after initialization <code>this.buttonUsage = new ButtonUsage</code>?</p>