Faça do serviço Singleton Angular
@Injectable({
providedIn: 'root',
})
export class ApiService {
}
Danylo Kostiuchenko
@Injectable({
providedIn: 'root',
})
export class ApiService {
}