In one controller I do :
$rootScope.$emit("newAction", {});
in another controller I do :
$rootScope.$on('newAction', function() {
          vm.newAction (...);
          vm.newAction (...);
          vm.newAction (...);
          vm.newAction (...);
          vm.newAction (...);
          vm.newAction (...);
      });
My problem is that $rootScope.$on is called multiple times. I don't know why.
If anybody has a hint... Thanks
 
     
    