I'm deep watching a property that is bound to multiple controls:

```
$scope.$watch('config', function(){}, true);

```

the config itself contains various parameters:

* scale
* point
* aggregates
* current

I want to ignore changes to *scale* when it is changed by a specific control and a specific function.

Is there a way to ignore a specific property or override the watch is specific cases?

---

**For now this is what i'm doing:**

The dataChange now fires only on certain changes, in this case when other properties,
not zoom are changing.

In order to disable the dataChange for a specific zoom case i just assigned it to the rest of the cases.

I'm using Switch and not if/else just because it's more descriptive and easily extendable for more cases.

```
  $scope.$watch('config', function(n,o,scope){
   $scope.config = n;
    if (n != o) {
     switch(true){
      case n.zoom != o.zoom:
      break;

      default:
         $scope.dataChange($scope.dataTable);              
      };
    }
}, true);

```