docs: function isBlank(str) {
          if (str === undefined || str === null) {
              return true;
          }
          if (angular.isString(str)) {
              return str.trim().length === 0;
          }
          else {
              // TODO - not undefined but also not a string...
              return false;
          }
      }