Refactoring of column events using $scope.$emit