<commit_before>myApp.controller('resumeController', ['$scope', '$log', 'resumeService', function($scope, $log, resumeService) {
    //Modal data
    $scope.modalContent = {
        heading: "",
        body: ""
    };
    //Fetch the resume data from the resume service
    $scope.resumeData = [];
    //if getResumeData is a promise then fetch the data
    //with an ajax call and cache it in the service
    if ('then' in resumeService.getResumeData()) {
        resumeService.getResumeData()
        .then(
        //Success
        function(res) {
            resumeService.resumeData = $scope.resumeData = res.data;
            console.log($scope.resumeData);
        },
        //Failure
        function(res) {
            $log.error(res);
        });
    }
    //Otherwise fetch the cached version<commit_msg>removed console.logs from controllers<commit_after>myApp.controller('resumeController', ['$scope', '$log', 'resumeService', function($scope, $log, resumeService) {
    //Modal data
    $scope.modalContent = {
        heading: "",
        body: ""
    };
    //Fetch the resume data from the resume service
    $scope.resumeData = [];
    //if getResumeData is a promise then fetch the data
    //with an ajax call and cache it in the service
    if ('then' in resumeService.getResumeData()) {
        resumeService.getResumeData()
        .then(
        //Success
        function(res) {
            resumeService.resumeData = $scope.resumeData = res.data;
        },
        //Failure
        function(res) {
            $log.error(res);
        });
    }
    //Otherwise fetch the cached version
{'fraction_non_alphanumeric': 0.12453531598513011, 'fraction_numerical': 0.0, 'mean_word_length': 2.2043650793650795, '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': '1963295', 'n_tokens_mistral': 442, 'n_tokens_neox': 452, 'n_words': 121}