<commit_before>'use strict';

var ENV = {};

var app = angular.module('openGarageApp', ['apiServices']).config(function ($routeProvider) {
    $routeProvider
        .when('/', {
            templateUrl: 'views/main.html',
            controller: 'MainCtrl'
        })
        .when('/map', {
            templateUrl: 'views/map.html',
            controller: 'MapCtrl'
        })
        .when('/list', {
            templateUrl: 'views/list.html',
            controller: 'ListCtrl'
        })
        .when('/new', {
            templateUrl: 'views/new.html',
            controller: 'NewCtrl'
        })
        .when('/about', {
            templateUrl: 'views/about.html',
            controller: 'AboutCtrl'
        })
        .when('/detail/:id', {
            templateUrl: 'views/detail.html',
            controller: 'DetailCtrl'
        })
        .otherwise({
            redirectTo: '/'
        });
});
<commit_msg>new route for editing garage<commit_after>'use strict';

var ENV = {};

var app = angular.module('openGarageApp', ['apiServices']).config(function ($routeProvider) {
    $routeProvider
        .when('/', {
            templateUrl: 'views/main.html',
            controller: 'MainCtrl'
        })
        .when('/map', {
            templateUrl: 'views/map.html',
            controller: 'MapCtrl'
        })
        .when('/list', {
            templateUrl: 'views/list.html',
            controller: 'ListCtrl'
        })
        .when('/new', {
            templateUrl: 'views/new.html',
            controller: 'NewCtrl'
        })
        .when('/new/:id', {
            templateUrl: 'views/new.html',
            controller: 'NewCtrl'
        })
        .when('/about', {
            templateUrl: 'views/about.html',
            controller: 'AboutCtrl'
        })
        .when('/detail/:id', {
            templateUrl: 'views/detail.html',
            controller: 'DetailCtrl'
        })
        .otherwise({
            redirectTo: '/'
        });
});

{'fraction_non_alphanumeric': 0.16205334675390035, 'fraction_numerical': 0.0, 'mean_word_length': 1.5324840764331211, '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': '1331333', 'n_tokens_mistral': 552, 'n_tokens_neox': 550, 'n_words': 93}