docs: function(settings, scope) {
          var
            scopeOptions = angular.extend({}, scope),
            htOptions, i, length;
  
          settings = settings || {};
          angular.extend(scopeOptions, scope.settings || {});
          htOptions = this.getAvailableSettings();
  
          for (i = 0, length = htOptions.length; i < length; i++) {
            if (typeof scopeOptions[htOptions[i]] !== 'undefined') {
              settings[htOptions[i]] = scopeOptions[htOptions[i]];
            }
          }
  
          return settings;
        }