Access component from service
<p>In angular 2, is it possible to access the calling component (component that is calling the service) from the service?</p>

<p>Let's say my component is:</p>

<pre><code>@Component({
    selector: 'my-component',
    templateUrl: 'myTemplate.html',
    providers: [Service]
})

export class MyComponent{

    constructor(private service:Service) {
        service.accessComponent();
    }

    callMe(){
        console.log('hello');
    }
}
</code></pre>

<p>And my service would be:</p>

<pre><code>@Injectable()

export class Service{
    accessComponent(){
        var myComponent = ???;

        myComponent.callMe();
    }
}
</code></pre>