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
This is happening because the component that holds the progressbar is being destroyed while the progressbar is running, so you should put
in a root component (or a component that does not get destroyed)
If you are using the progress for http requests there is a new feature called automagic progressbar, you might want to try it out!
Since v2.1.1, you can use the component anywhere without getting that error