Manually trigger $ionicView.unloaded


#1

Is there a way to manually trigger the $ionicView.unloaded view state? In my ion-nav-view, I have html content coming from an external, pre-built source that includes a link built like this:
<a href="#/link/to/location">click me</a>

But because this html content is coming from an external source, this link has no access to angular $scope when I click on it.

What I’m hoping perhaps is that the target page (#/link/to/location) would have code that I could manually trigger $ionicView.unloaded from that the target page that would unload the view state of the originating page.


#2

sorry but i do not understand your problem and why you need the unloaded event?
Maybe you are able to explain it a little bit more in detail