<commit_before>'use strict';
<% if (needsPartial) { %>
import directiveTpl from './<%= directiveName %>.html';
<% } %>
var  <%= directiveNameCamel %>Directive = {
    restrict: 'EA',
    scope: {},<% if (needsPartial) { %>
    templateUrl: directiveTpl, <% } %>
    link: linkFn
  };

function linkFn(scope, elem, attrs, fn) {

}<commit_msg>genrator directive generates a directive nested in a component<commit_after>'use strict';
<% if (needsPartial) { %>
import directiveTpl from './<%= directiveName %>.html';
<% } %>

function <%= directiveNameCamel %>Directive() {
    'ngInject';

return {
    restrict: 'EA',
    scope: {},<% if (needsPartial) { %>
    templateUrl: directiveTpl, <% } %>
    link: linkFn
  };

function linkFn(scope, elem, attrs, fn) {

  }

}
{'fraction_non_alphanumeric': 0.18513689700130379, 'fraction_numerical': 0.0, 'mean_word_length': 3.923076923076923, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1888808', 'n_tokens_mistral': 285, 'n_tokens_neox': 251, 'n_words': 62}