Two controllers have ngGridEventEndCellEdit implemented
$scope.$on('ngGridEventEndCellEdit', function(data) {
console.log('data: ' + data.targetScope.row.entity);
});
Interestingly, the event is triggered from ng-grid B even though it belongs to controller A. These grids and controllers are placed in separate views controlled by routeProvider.
What could be causing ngGridEventEndCellEdit from controller A to be fired on ng-grid B (which is managed by controller B with its own version)? Why does the event from grid A trigger both ngGridEventEndCellEdit methods?