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
In normal AngularJS, when I navigate to a new page, the ng-view directive will ensure that the $scope for the previous view/controller is cleaned up, i.e. by firing the $destroy event.
With jqm-angular-adapter, that does not seem to be the case, and $destroy is never fired when navigating to a new page.
Any reason why? I'm not really understanding what's going on here with jqm-angular-adapter.
Cheers,
-adam
The text was updated successfully, but these errors were encountered:
Hi @tbosch,
When does the
$scope
for a jqm page get destroyed?I'm doing something like this in my controller:
In normal AngularJS, when I navigate to a new page, the
ng-view
directive will ensure that the$scope
for the previous view/controller is cleaned up, i.e. by firing the$destroy
event.With jqm-angular-adapter, that does not seem to be the case, and
$destroy
is never fired when navigating to a new page.Any reason why? I'm not really understanding what's going on here with jqm-angular-adapter.
Cheers,
-adam
The text was updated successfully, but these errors were encountered: