<commit_before>
angular.module('mainCtrl.runningApp',[])
    .controller('mainCtrl',['$scope', '$mdDialog',function($scope, $mdDialog){
        $scope.message  = "I'm awesome!!!";
<<<<<<< HEAD
       $scope.map = { center: { latitude: 51, longitude: 7 }, zoom: 10 };
        
=======
        $scope.map = { center: { latitude: 51, longitude: 7 }, zoom: 10 };

>>>>>>> fc94d724376dd9ce62a90d2463d5b1f49bb26c7a
        $scope.showSearch = function(ev) {
        $mdDialog.show({
            controller: dialogCtrl,
            templateUrl: 'views/pFindEvent.html',
            parent: angular.element(document.body),
            targetEvent: ev,
            clickOutsideToClose:true
        })
        .then(function(searchText) {
            $scope.status = 'You said the information was "' + searchText + '".';
            console.log(searchText);
        }, function() {
            $scope.status = 'You cancelled the dialog.';
<<<<<<< HEAD
        }
                 
        );
=======
        });
>>>>>>> fc94d724376dd9ce62a90d2463d5b1f49bb26c7a
      };
    }]);

function dialogCtrl($scope, $mdDialog, types) {
    $scope.list = types;
    
  $scope.hide = function() {
    $mdDialog.hide();
  };
  $scope.cancel = function() {
    $mdDialog.cancel();
  };
  $scope.answer = function(answer) {
    $mdDialog.hide(answer);
  };
};
<<<<<<< HEAD

        

=======
>>>>>>> fc94d724376dd9ce62a90d2463d5b1f49bb26c7a<commit_msg>Adds main controller<commit_after>
angular.module('mainCtrl.runningApp',[])
    .controller('mainCtrl',['$scope', '$mdDialog',function($scope, $mdDialog){
        $scope.message  = "I'm awesome!!!";
       $scope.map = { center: { latitude: 51, longitude: 7 }, zoom: 10 };
        $scope.showSearch = function(ev) {
        $mdDialog.show({
            controller: dialogCtrl,
            templateUrl: 'views/pFindEvent.html',
            parent: angular.element(document.body),
            targetEvent: ev,
            clickOutsideToClose:true
        })
        .then(function(searchText) {
            $scope.status = 'You said the information was "' + searchText + '".';
            console.log(searchText);
        }, function() {
            $scope.status = 'You cancelled the dialog.';
        });
      };
    }]);

function dialogCtrl($scope, $mdDialog, types) {
    $scope.list = types;

  $scope.hide = function() {
    $mdDialog.hide();
  };
  $scope.cancel = function() {
    $mdDialog.cancel();
  };
  $scope.answer = function(answer) {
    $mdDialog.hide(answer);
  };
};
{'fraction_non_alphanumeric': 0.17501988862370724, 'fraction_numerical': 0.034606205250596656, 'mean_word_length': 2.412483039348711, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 24, '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': '4006856', 'n_tokens_mistral': 855, 'n_tokens_neox': 792, 'n_words': 131}