import { Injectable } from '@angular/core' ; import { Observable , of } from 'rxjs' ; @ Injectable ( { providedIn : 'root' } ) export class BusyService { busy$ : Observable < boolean > = of ( false ) ; setBusy ( isBusy ) { } }