title: How can I call function from directive after component's rendering?
body: <p>How can I call function from directive after component's rendering? </p>
  
  <p>I have component: </p>
  
  <pre><code>export class Component {
    ngAfterContentInit() {
    // How can i call functionFromDirective()?
    }
  }
  </code></pre>
  
  <p>And I want call this function:</p>
  
  <pre><code>export class Directive {
  
  functionFromDirective() {
  //something hapenns
  }
  </code></pre>
  
  <p>How can i do this?</p>