How to activate component only when data comes from server?

There is component:

 <app-add-object-layer-component></app-add-object-layer-component>

It has service inside:

 constructor(private editService: editService) {

 }

 getEditData(){
    return this.editService.get();
 }

Child component is initialised always even there is no data returned.

Sure, I can move editService upper and use it like:

<app-add-object-layer-component *ngIf="editService.getEditData()"></app-add-object-layer-component>

But in this case parent component has alien dependency constructor(private editService: editService) {}

How to manage show/hide child component in parent component according to data existence?

Source: New feed
Source Url How to activate component only when data comes from server?