code: function getPropWatchDepth(defaultWatch, prop) {
      var customWatchDepth = (
        Array.isArray(prop) &&
        angular.isObject(prop[1]) &&
        prop[1].watchDepth
      );
      return customWatchDepth || defaultWatch;
    }
docs: get watch depth of prop (string or array)