If your directive uses $watch
, you should be able to see the watch expression wherever your directive is used.
Use named functions for $watch:
scope.$watch(function checkIfSomethingChanged() {
// ...
}, function whenThatChanges(newValue, oldValue) {
// ...
});