compoent interaction with rxjs in angular
问题 i make news application with news api and i fetch data properly and but not sending data from service to component so how can send data from service to component and component to component through rxjs import { Injectable } from '@angular/core'; import { Subject } from 'rxjs'; @Injectable() export class NewService { private pushSource = new Subject<object>(); Country_Name; constructor(private http:HttpClient,) { this.messages$ = this.pushSource.asObservable() } // define function for call the