<commit_before>(function(angular) {
    'use strict';

    var moduleName = '{{angularModuleName}}.mocked';

    angular
        .module(moduleName, ['ngMockE2E'])
        .run(['apiUrl', '$httpBackend', function(apiUrl, $httpBackend) {
        {{#each resourceOperations}}
            {{#each this}}
                $httpBackend.when{{action}}(apiUrl + '{{path}}').respond({{{mockedResponse}}});
            {{/each}}
        {{/each}}
        }]);

    if( typeof exports !== 'undefined' ) {
        if (typeof module !== 'undefined' && module.exports) {
            exports = module.exports = moduleName;
        }
        exports = moduleName;
    }
})(angular);<commit_msg>Add ngModule to mocked template as module name<commit_after>(function(angular) {
    'use strict';

    var moduleName = '{{ngModule}}.mocked';

    angular
        .module(moduleName, ['ngMockE2E'])
        .run(['apiUrl', '$httpBackend', function(apiUrl, $httpBackend) {
        {{#each resourceOperations}}
            {{#each this}}
                $httpBackend.when{{action}}(apiUrl + '{{path}}').respond({{{mockedResponse}}});
            {{/each}}
        {{/each}}
        }]);

    if( typeof exports !== 'undefined' ) {
        if (typeof module !== 'undefined' && module.exports) {
            exports = module.exports = moduleName;
        }
        exports = moduleName;
    }
})(angular);
{'fraction_non_alphanumeric': 0.1782608695652174, 'fraction_numerical': 0.0014492753623188406, 'mean_word_length': 2.4014778325123154, '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': '498893', 'n_tokens_mistral': 395, 'n_tokens_neox': 392, 'n_words': 78}