can some one suggest me how to avoid multiple api calls while using same component multiple places in same container
class ChildComponent{
// some api calls and actions (api call is made in service)
}
parent.html
<child-component></child-component>
<child-component></child-component>
<child-component></child-component>
<child-component></child-component>