How to implement behavior subject using service in Angular 8
问题 I'm new to Angular and I'm having an issue. I'm creating an app with several sibling components. When I update a value in one component other components don't update. I know that to resolve this issue I should use behaviour subject . But how do I implement it with my service, the components and all the templates? Here is my code - ---------------------- My service --------------------------- //import @Injectable() export class CoachService { apiURL = environment.apiURL; constructor(private