<commit_before>angular.module('app').directive('tagsInput', function () {
  return {
    restrict: 'E',
    templateUrl: '/directives-templates/tags-input/tags-input',
    scope: {
      tags: '=?',
      primary: '=?',
      isLoaded: '=?'
    },
    link: function link(scope, element, attrs) {
      var loadedListener = scope.$watch(attrs.isLoaded, function (isLoaded) {
        if (isLoaded) {
          $('input', element).tagsinput();
          loadedListener();
        }
      });
    }
  };
});<commit_msg>Refactor unused var and function call<commit_after>angular.module('app').directive('tagsInput', function () {
  return {
    restrict: 'E',
    templateUrl: '/directives-templates/tags-input/tags-input',
    scope: {
      tags: '=?',
      primary: '=?',
      isLoaded: '=?'
    },
    link: function link(scope, element, attrs) {
      scope.$watch(attrs.isLoaded, function (isLoaded) {
        if (isLoaded) {
          $('input', element).tagsinput();
        }
      });
    }
  };
});
{'fraction_non_alphanumeric': 0.1807348560079444, 'fraction_numerical': 0.0, 'mean_word_length': 2.5244755244755246, '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': '2400237', 'n_tokens_mistral': 314, 'n_tokens_neox': 317, 'n_words': 54}