Make every enter of controller triggers

.controller('settingCtrl', function($scope,$http,$localstorage) {
  $scope.savedData = $localstorage.getObject('setting');

.state('app.setting', {
    url: "/setting",
    views: {
      'menuContent': {
        templateUrl: "templates/setting.html",
        controller: 'settingCtrl'

How to make sure my controller trigger its function within every time I enter it? I tested above code with console.log(), it seems like it only trigger once even I revisit from other $state. I put cache: false it doesn’t work too.

Got my solution

$scope.$on('$ionicView.afterEnter', function(){
 //run something :smile: