AngularJS $ dipanggil dua kali

$rootScope.$broadcast(...)

$scope.$on(...)

var deregister = $scope.$on(...);

deregister(); // destory that listener
SAMER SAEID