<commit_before>'use strict';

(function(){

    var app = angular.module('myapp', [
      'ngRoute',
      'myapp-home'
    ]);

    app.config(['$routeProvider', '$locationProvider', function($routeProvider) {

        // application router
        $routeProvider
            .when('/', {
                templateUrl: '/partials/home.jade',
                controller: 'HomeController',
                controllerAs: 'home'
            });

    }]);

    app.directive('navigation', function() {
        return {
            restrict: 'E',
            templateUrl: '/partials/navigation.jade',
            controller: function($location) {

                // array of navigation's items
                this.items = [
                    {
                        name: 'Home',
                        url: '/'
                    }
                ];

                // check if the current item is active
                this.isActive = function(url) {
                    return url === $location.path();
                };

            },
            controllerAs: 'navigation'
        };
    });

})();
<commit_msg>fix: remove unnecessary comments #11<commit_after>'use strict';

(function(){

    var app = angular.module('myapp', [
      'ngRoute',
      'myapp-home'
    ]);

    app.config(['$routeProvider', '$locationProvider', function($routeProvider) {

        $routeProvider
            .when('/', {
                templateUrl: '/partials/home.jade',
                controller: 'HomeController',
                controllerAs: 'home'
            });

    }]);

    app.directive('navigation', function() {
        return {
            restrict: 'E',
            templateUrl: '/partials/navigation.jade',
            controller: function($location) {

                this.items = [
                    {
                        name: 'Home',
                        url: '/'
                    }
                ];

                this.isActive = function(url) {
                    return url === $location.path();
                };

            },
            controllerAs: 'navigation'
        };
    });

})();

{'fraction_non_alphanumeric': 0.13523631258773983, 'fraction_numerical': 0.0009358914365933552, 'mean_word_length': 1.197327852004111, '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': '6670892', 'n_tokens_mistral': 548, 'n_tokens_neox': 505, 'n_words': 95}