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

    angular.module('examples', ['ng-scrolling-table.mixins', 'ng-scrolling-table'])
            .controller('BasicCtrl', function($scope, $compile, $timeout, $rootScope, TableEvents,
                    ScrollingTableHelper, ColumnVisibilityService) {

                $scope.currentSelection = [];
                $scope.hideColumns = false;
                $scope.data = [
                    {'name': 'Jason', 'phoneNumber': '763-555-5522'},
                    {'name': 'Joseph', 'phoneNumber': '651-443-3322'}

                ];
                $timeout(function() {
                    for (var i = 0; i < 2000; i++) {
                        $scope.data.push({'name': 'Person-' + i, 'phoneNumber': '553-223-2378'});
                    }
                }, 500);


                $scope.$on(TableEvents.selection, function(evt, sRows) {
                    $scope.currentSelection = sRows;
                });

                $scope.clearSelection = function(wrapperId) {

                    var tableId = ScrollingTableHelper.getIdOfContainingTable($("#" + wrapperId));
                    $scope.$broadcast(TableEvents.clearSelection, {
                        tabl2eId: tableId
                    });<commit_msg>Fix typo used during manual testing<commit_after>
(function(angular) {
    'use strict';

    angular.module('examples', ['ng-scrolling-table.mixins', 'ng-scrolling-table'])
            .controller('BasicCtrl', function($scope, $compile, $timeout, $rootScope, TableEvents,
                    ScrollingTableHelper, ColumnVisibilityService) {

                $scope.currentSelection = [];
                $scope.hideColumns = false;
                $scope.data = [
                    {'name': 'Jason', 'phoneNumber': '763-555-5522'},
                    {'name': 'Joseph', 'phoneNumber': '651-443-3322'}

                ];
                $timeout(function() {
                    for (var i = 0; i < 2000; i++) {
                        $scope.data.push({'name': 'Person-' + i, 'phoneNumber': '553-223-2378'});
                    }
                }, 500);


                $scope.$on(TableEvents.selection, function(evt, sRows) {
                    $scope.currentSelection = sRows;
                });

                $scope.clearSelection = function(wrapperId) {

                    var tableId = ScrollingTableHelper.getIdOfContainingTable($("#" + wrapperId));
                    $scope.$broadcast(TableEvents.clearSelection, {
                        tableId: tableId
                    });
{'fraction_non_alphanumeric': 0.1399304213374565, 'fraction_numerical': 0.029764205643602628, 'mean_word_length': 1.5573122529644268, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3576980', 'n_tokens_mistral': 754, 'n_tokens_neox': 641, 'n_words': 115}