Great.
Alternatively, you could use an event, it's supposed to be more performant than no cache in state.
$scope.$on('$ionicView.beforeEnter', function () {
// Do something
});
Great.
Alternatively, you could use an event, it's supposed to be more performant than no cache in state.
$scope.$on('$ionicView.beforeEnter', function () {
// Do something
});