<commit_before>angular
  .module('material.components.expansionPanels')
  .factory('$mdExpansionPanel', expansionPanelService);


expansionPanelService.$inject = ['$mdComponentRegistry'];
function expansionPanelService($mdComponentRegistry) {
  return function (handle) {
    return $mdComponentRegistry
        .when(handle)
        .then(function (instance) {
          return instance;
        });
  };
}
<commit_msg>add basic documentation to $mdExpansionPanel<commit_after>angular
  .module('material.components.expansionPanels')
  .factory('$mdExpansionPanel', expansionPanelService);


/**
 * @ngdoc service
 * @name $mdExpansionPanel
 * @module material.components.expansionPanels
 *
 * @description
 * Expand and collapse Expansion Panel using its `md-component-id`
 *
 * @example
 * $mdExpansionPanel('comonentId').then(function (instance) {
 *  instance.exapand();
 *  instance.collapse();
 * });
 */
expansionPanelService.$inject = ['$mdComponentRegistry'];
function expansionPanelService($mdComponentRegistry) {
  return function (handle) {
    return $mdComponentRegistry
        .when(handle)
        .then(function (instance) {
          return instance;
        });
  };
}

{'fraction_non_alphanumeric': 0.126890756302521, 'fraction_numerical': 0.0, 'mean_word_length': 4.293333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7536032', 'n_tokens_mistral': 331, 'n_tokens_neox': 322, 'n_words': 60}