I got the following working great in each controller.
$scope.$on('$routeChangeStart', function(event){
    $scope.closeitup();
});
And in every controller i got a closeitup() function that does something different but with the same name.
How can i move the above $scope.$on to a service that will be fired and call the controller closeitup()
Hope the question is clear enough
 
     
     
     
    