<commit_before>'use strict';

var myDemoApp = angular.module('myDemoApp', ['formsAngular']);

myDemoApp.config(['formRoutesProvider', function (formRoutes) {
        formRoutes.setRoutes([
            {route:'/index', options:{templateUrl: 'partials/landing-page.html'}},
            {route:'/get-started', options:{templateUrl: 'partials/get-started.html'}},
            {route:'/forms', options:{templateUrl: 'partials/forms.html'}},
            {route:'/schemas', options:{templateUrl: 'partials/schemas.html'}},
            {route:'/reporting', options:{templateUrl: 'partials/reporting.html'}},
            {route:'/more', options:{templateUrl: 'partials/more.html'}},
            {route:'/in-the-wild', options:{templateUrl: 'partials/in-the-wild.html'}},
            {route:'/examples', options:{templateUrl: 'partials/examples.html'}},
            {route:'/api-docs', options:{templateUrl: 'partials/api-docs.html'}},
            {route:'/404', options:{templateUrl: 'partials/404.html'}},
            {route:'/z_custom_form/new', options:{templateUrl: 'partials/custom-new.html'}},            // example view override
            {route:'/z_custom_form/:id/edit', options:{templateUrl: 'partials/custom-edit.html'}},      // example view override
            {route:'/z_custom_form/:form/new', options:{templateUrl: 'partials/custom-new.html'}},      // example view override with specified form content
            {route:'/z_custom_form/:form/:id/edit', options:{templateUrl: 'partials/custom-edit.html'}} // example view override with specified form content
        ], '/index');
}]);

formsAngular.config(['urlServiceProvider','cssFrameworkServiceProvider',function(urlService, cssFrameworkService) {
    urlService.setOptions({html5Mode: false, hashPrefix: '!'});
    cssFrameworkService.setOptions({framework:'bs3'});
}]);<commit_msg>Set framework back to bc2 (as it broke tests)<commit_after>'use strict';

var myDemoApp = angular.module('myDemoApp', ['formsAngular']);

myDemoApp.config(['formRoutesProvider', function (formRoutes) {
        formRoutes.setRoutes([
            {route:'/index', options:{templateUrl: 'partials/landing-page.html'}},
            {route:'/get-started', options:{templateUrl: 'partials/get-started.html'}},
            {route:'/forms', options:{templateUrl: 'partials/forms.html'}},
            {route:'/schemas', options:{templateUrl: 'partials/schemas.html'}},
            {route:'/reporting', options:{templateUrl: 'partials/reporting.html'}},
            {route:'/more', options:{templateUrl: 'partials/more.html'}},
            {route:'/in-the-wild', options:{templateUrl: 'partials/in-the-wild.html'}},
            {route:'/examples', options:{templateUrl: 'partials/examples.html'}},
            {route:'/api-docs', options:{templateUrl: 'partials/api-docs.html'}},
            {route:'/404', options:{templateUrl: 'partials/404.html'}},
            {route:'/z_custom_form/new', options:{templateUrl: 'partials/custom-new.html'}},            // example view override
            {route:'/z_custom_form/:id/edit', options:{templateUrl: 'partials/custom-edit.html'}},      // example view override
            {route:'/z_custom_form/:form/new', options:{templateUrl: 'partials/custom-new.html'}},      // example view override with specified form content
            {route:'/z_custom_form/:form/:id/edit', options:{templateUrl: 'partials/custom-edit.html'}} // example view override with specified form content
        ], '/index');
}]);

formsAngular.config(['urlServiceProvider','cssFrameworkServiceProvider',function(urlService, cssFrameworkService) {
    urlService.setOptions({html5Mode: false, hashPrefix: '!'});
    cssFrameworkService.setOptions({framework:'bs2'});  // Unit and e2e tests depend on this being bs2
}]);
{'fraction_non_alphanumeric': 0.17840127051349922, 'fraction_numerical': 0.005029115934356803, 'mean_word_length': 3.795685279187817, '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': '1150836', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1090, 'n_words': 175}