<commit_before>"use strict";

angular.module('arethusa.confEditor').directive('pluginConf', function() {
  return {
    restrict: 'AE',
    scope: true,
    link: function(scope, element, attrs) {
      var name = scope.$eval(attrs.name);
      scope.template = 'templates/configs/' + name + '.html';
    },
    templateUrl: 'templates/plugin_conf.html'
  };
});<commit_msg>Add comment to plugin conf<commit_after>"use strict";

angular.module('arethusa.confEditor').directive('pluginConf', function() {
  return {
    restrict: 'AE',
    scope: true,
    link: function(scope, element, attrs) {
      var name = scope.$eval(attrs.name);

      // Right now paths to such configuration are hardcoded to a specific
      // folder. This will be much more dynamic in the future.
      scope.template = 'templates/configs/' + name + '.html';
    },
    templateUrl: 'templates/plugin_conf.html'
  };
});
{'fraction_non_alphanumeric': 0.14888888888888888, 'fraction_numerical': 0.0, 'mean_word_length': 3.395121951219512, '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': '5708298', 'n_tokens_mistral': 269, 'n_tokens_neox': 268, 'n_words': 69}