Inside one of my Angular controllers, I have this:
// controller A $rootScope.$on(\"myEventFire\", function(event, reload) { someAction(); });
if you don't want to destroy,
I think we can check the listener event first - AngularJS 1.2.15
So I think this should work :
if(!$rootScope.$$listenerCount['myEventFire']){ $rootScope.$on("myEventFire", function(event, reload) { someAction(); }); }