code: function linkForNonInput() {
  
                  scope.$watch(info.getValErrs, valErrsChanged);
  
                  // update the message in the z_invalid and z_error properties in the scope
                  // when a validation error changes on a non-input control
                  function valErrsChanged(newValue) {
                      var errorMsg = newValue ? newValue : "";
                      scope.z_error = errorMsg;
                      scope.z_invalid = !!errorMsg;
                      scope.z_required = info.getIsRequired();
                  }
              }
docs: directive is on another element (e.g. a div wrapping the input) so set scope variables and let existing elements display validation TODO: learn to discover the ngModel in the interior of the element rather than oblige developer to repeat it in the ngModel of this element