<commit_before>// In this file all the resources are loaded from the internet
// we use this api: http://api.themoviedb.org/3/ to get information about movies and series
// our API key: ba9b7992000821605fa725399d300a35

var ConfigurationService = angular.module('ConfigurationService', []);
ConfigurationService.factory('ConfigData', function configDataFactory() {

    return {
       "base_url" : "http://api.themoviedb.org/3/",
       "api_key" : "?api_key=ba9b7992000821605fa725399d300a35",
       "image_base_url" : "http://image.tmdb.org/t/p/"
    }

});


var MovieService = angular.module('MovieService', []);
MovieService.factory('MovieData', ['ConfigData', '$http', function (ConfigData, $http) {

    var base_url = ConfigData.base_url;
    var api_key = ConfigData.api_key;
    var lang = "&language=en&include_image_language=en";
    var MovieData = {};

    MovieData.getPopularMovies = function() {
        console.log(base_url + 'movie/popular' + api_key + lang);
        return $http.get(base_url + 'movie/popular' + api_key + lang);
    };

    MovieData.getTopRatedMovies = function() {<commit_msg>Changes made<commit_after>
var MovieService = angular.module('MovieService', []);
MovieService.factory('MovieData', ['ConfigData', '$http', function (ConfigData, $http) {

    var base_url = ConfigData.base_url;
    var api_key = ConfigData.api_key;
    var lang = "&language=en&include_image_language=en";
    var MovieData = {};

    MovieData.getPopularMovies = function() {
        console.log(base_url + 'movie/popular' + api_key + lang);
        return $http.get(base_url + 'movie/popular' + api_key + lang);
    };

    MovieData.getTopRatedMovies = function() {
{'fraction_non_alphanumeric': 0.13997627520759193, 'fraction_numerical': 0.03084223013048636, 'mean_word_length': 4.081325301204819, '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': '5252010', 'n_tokens_mistral': 595, 'n_tokens_neox': 541, 'n_words': 109}