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

    angular
        .module('demoApp', ['ng-duallist'])
        .controller('demoController', demoController);

    demoController.$inject = ['$rootScope'];

    /* @ngInject */
    function demoController($rootScope) {
        var vm = this;
        vm.property = 'demoController';


        activate();

        ////////////////

        function activate() {


            vm.options = {
                leftContainerScrollEnd: function () {
                  console.log("inn")
                    
                },
                rightContainerScrollEnd: function () {
                    console.log("inn")
                    
                },
                leftContainerSearch: function (text) {
                    console.log(text)

                },
                rightContainerSearch: function (text) {

                    console.log(text)
                },

            };
            console.log(vm.options)


            vm.leftValue = [{
                'name': 'left1'
            }, {
                'name': 'left2'
            }, {
                'name': 'left3'
            }, {
                'name': 'left4'
            }, {
                'name': 'left5'
            }, {
                'name': 'left6'
            }, {
                'name': 'left7'
            }, {
                'name': 'left8'
            }, {
                'name': 'left9'
            }]
            vm.rightValue = [{
                'name': 'right1'
            }, {
                'name': 'Right2'
            }, {
                'name': 'Right3'
            }]

        }
    }
})();<commit_msg>demo js chages<commit_after>(function () {
    'use strict';

    angular
        .module('demoApp', ['ng-duallist'])
        .controller('demoController', demoController);

    demoController.$inject = ['$rootScope','$filter'];

    /* @ngInject */
    function demoController($rootScope,$filter) {
        var vm = this;
        vm.property = 'demoController';


        activate();

        ////////////////

        function activate() {


            vm.options = {
                leftContainerScrollEnd: function () {
                  console.log("inn")
                    
                },
                rightContainerScrollEnd: function () {
                    console.log("inn")
                    
                },
                leftContainerSearch: function (text) {
                    console.log(text)
                    vm.leftValue=$filter('filter')(leftValue,{'name':text})

                },
                rightContainerSearch: function (text) {

                     vm.rightValue=$filter('filter')(rightValue,{'name':text})
                },

            };
            console.log(vm.options)


            vm.leftValue = [{
                'name': 'left1'
            }, {
                'name': 'left2'
            }, {
                'name': 'left3'
            }, {
                'name': 'left4'
            }, {
                'name': 'left5'
            }, {
                'name': 'left6'
            }, {
                'name': 'left7'
            }, {
                'name': 'left8'
            }, {
                'name': 'left9'
            }]
            var leftValue=angular.copy(vm.leftValue)
            vm.rightValue = [{
                'name': 'right1'
            }, {
                'name': 'Right2'
            }, {
                'name': 'Right3'
            }]
             var rightValue=angular.copy(vm.rightValue)

        }
    }
})();
{'fraction_non_alphanumeric': 0.14213906729963696, 'fraction_numerical': 0.006702038536721586, 'mean_word_length': 0.9414634146341463, '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': '6446928', 'n_tokens_mistral': 946, 'n_tokens_neox': 860, 'n_words': 133}