<commit_before>var planet_app = angular.module('planet_app', ['ui.router', 'ngResource']);

planet_app.config(['$controllerProvider', '$provide', '$compileProvider', '$stateProvider', '$urlRouterProvider', function($controllerProvider, $provide, $compileProvider, $stateProvider, $urlRouterProvider){
    /* CODE FOR ASYNC MODULE LOADING */
    planet_app._controller = planet_app.controller;
    planet_app._service = planet_app.service;
    planet_app._factory = planet_app.factory;
    planet_app._directive = planet_app.directive;

    planet_app.controller = function( name, constructor ) {
        $controllerProvider.register( name, constructor );
        return( this );
    };

    planet_app.service = function( name, constructor ) {
        $provide.service( name, constructor );
        return( this );
    };

    planet_app.factory = function( name, factory ) {
        $provide.factory( name, factory );
        return( this );
    };

    planet_app.directive = function( name, factory ) {
        $compileProvider.directive( name, factory );
        return( this );
    };

    /* ROUTING */
    $urlRouterProvider.otherwise('/');

    $stateProvider
        .state('quest', {
            url: '/quest/:id',
            templateUrl: 'static/quest/view.html',<commit_msg>url fix, quest -> quests<commit_after>var planet_app = angular.module('planet_app', ['ui.router', 'ngResource']);

planet_app.config(['$controllerProvider', '$provide', '$compileProvider', '$stateProvider', '$urlRouterProvider', function($controllerProvider, $provide, $compileProvider, $stateProvider, $urlRouterProvider){
    /* CODE FOR ASYNC MODULE LOADING */
    planet_app._controller = planet_app.controller;
    planet_app._service = planet_app.service;
    planet_app._factory = planet_app.factory;
    planet_app._directive = planet_app.directive;

    planet_app.controller = function( name, constructor ) {
        $controllerProvider.register( name, constructor );
        return( this );
    };

    planet_app.service = function( name, constructor ) {
        $provide.service( name, constructor );
        return( this );
    };

    planet_app.factory = function( name, factory ) {
        $provide.factory( name, factory );
        return( this );
    };

    planet_app.directive = function( name, factory ) {
        $compileProvider.directive( name, factory );
        return( this );
    };

    /* ROUTING */
    $urlRouterProvider.otherwise('/');

    $stateProvider
        .state('quest', {
            url: '/quests/:id',
            templateUrl: 'static/quest/view.html',
{'fraction_non_alphanumeric': 0.13650425367362723, 'fraction_numerical': 0.0, 'mean_word_length': 3.227124183006536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6394727', 'n_tokens_mistral': 728, 'n_tokens_neox': 725, 'n_words': 146}