@Sujan12 wrote:
I have this app that has 4 views:
login -> list -> detail -> misc
Now I'm looking for some code that reloads the view
list
when it is entered fromlogin
ormisc
, but not when I navigated todetail
and use the back button to get back tolist
. Any idea how I could solve this?I thought about using
$ionicView
events, but couldn't find out how to differentiate between where the user comes from:$scope.$on('$ionicView.beforeEnter', function() { reload(); });
This (or with
$ionicView.enter
) reloads every time the view is shown
Posts: 1
Participants: 1