Is it possible make $ionicPopup (alert) show once.
Am having this in my controller:
$scope.$on(’$ionicView.loaded’, function(event) {
$ionicPopup.alert({
title: ‘Don’t eat that!’,
template: ‘It might taste good’
});
});
I actually want it to show once (the first time the user visit the view/page).