You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Every time i make a new instance of progress bar a new scope is made for it. But it never gets destroyed. This can cause memory leaks. Can you do something about it or at least point me in the right direction? I looked at the code and can't get a grasp of this concept of creating a scope in a service then compiling a directive with it.
The text was updated successfully, but these errors were encountered:
You can reuse the same progress bar by wrapping it in a service, so you don't need to create multiple progress bars. This way you can inject the same instance in multiple controllers/directives.
Hi. Every time i make a new instance of progress bar a new scope is made for it. But it never gets destroyed. This can cause memory leaks. Can you do something about it or at least point me in the right direction? I looked at the code and can't get a grasp of this concept of creating a scope in a service then compiling a directive with it.
The text was updated successfully, but these errors were encountered: