I am using ngx-progressbar bar in Angular 2 application. When app loading first it is working fine. second time it is showing error. I referred few article like medium.com for s
I also faced the same issue, I was using BehaviorSubject and it always saves the last response there are 2 solution for it.
Simply add the below line inside the subscription.
Also remember to unsubscribe the subscriptions that you have created manually.
I hope this helps.