-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't remove or empty array on listener after change route #154
Comments
I have problem like this ^ |
I just install example from angular-socket-io-seed and i have same problem. |
@frizar, Do you find any solutions? |
@essivision, I just remove listeners before scope destroyed on state change. |
Hi,
I defined a service like this:
and in controller:
when I refresh page all things is okay, but when I switch to another page and come back to chat page
$scope.arr
not null and last data array in listener is exist.What should I do for null array after come back to chat page (just on listener block)?
The text was updated successfully, but these errors were encountered: