title: How to invoke method from one component to another component in Angular 2?
body: <p>I have two different component - one component has click event method for the list users &amp; I want to inherit(invoke) that click event method on detail page(another component) ) </p>
  
  <p>How to do that, Please help me...</p>
  
  <p><strong>ANSWER UPDATE</strong></p>
  
  <p>Thanks For your Answers.</p>
  
  <p>I have got the solution by Using extend Class &amp; using super() in constructor.</p>
  
  <p><strong>First Class</strong></p>
  
  <pre><code>export class TeamsView {
     constructor(private test:TestService){
     }
     ...
  }
  </code></pre>
  
  <p><strong>Second Class</strong></p>
  
  <pre><code>export class TeamsForm extends TeamsView {
     constructor(private test:TestService, private router: Router){
       super(test)
     }
     ...
  }
  </code></pre>