$ionicView events not firing only on mobile


#1

Hi,
I have a problem using $ionicView events like $ionicView.enter, $ionicView.beforeEnter, … not firing only on mobile.

My controller:

.controller(‘PlaylistsCtrl’, function($scope, MoviesService) {

$scope.$on(’$ionicView.enter’, function() {

// Movies Service query data from Parse SDK 
MoviesService.all().then(function (data) {

  $scope.movies = data;
},
function (err) {
  $scope.showAlert("Error: " + err.message);
});

});
})

Well, i don’t the reason, but when i change tab and come back, my list is showing with data, but the event still not firing…only on my iphone, in the browser or in the ionic view app is working…

Any help, please?