<commit_before>'use strict';
/*!
 * Config for the router
 * Version: 1
 *
 * Copyright 2016 Janaagraha.  
 *
 * Author: <NAME> <<EMAIL>>
 * Related to project of Swachh Bharath
 */
app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$compileProvider', '$filterProvider', '$provide', '$ocLazyLoadProvider', 'JS_REQUIRES',
    function ($stateProvider, $urlRouterProvider, $controllerProvider, $compileProvider, $filterProvider, $provide, $ocLazyLoadProvider, jsRequires) {

        app.controller = $controllerProvider.register;
        app.directive = $compileProvider.directive;
        app.filter = $filterProvider.register;
        app.factory = $provide.factory;
        app.service = $provide.service;
        app.constant = $provide.constant;
        app.value = $provide.value;

        // LAZY MODULES

        $ocLazyLoadProvider.config({
            debug: false,
            events: true,
            modules: jsRequires.modules
        });

        /*
         * APPLICATION ROUTES
         * -----------------------------------
         * For any unmatched url, redirect to /dashboard
         */
        $urlRouterProvider.otherwise("/dashboard");
        /* Set up the states */
        $stateProvider.state('app', {
            url: "/app",
            templateUrl: '/tpl/dashboard.html',
            //resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'chatCtrl', 'truncate', 'htmlToPlaintext', 'angular-notification-icons'),
            // resolve: loadSequence('angular-notification-icons'),
            abstract: true
        })
                /* Topics routes */
                .state('topic', {
                    url: "/topic",
                    template: '<div  ui-view class="view" ></div>',
                    resolve: loadSequence('topicCtrl'),
                    abstract: true
                }).state('topic.list', {
            url: "/list",
            templateUrl: '/tpl/topics.html',
            //resolve: loadSequence('topicCtrl'),
            title: 'topics'
        }).state('topic.form', {
            url: "/form",
            templateUrl: '/tpl/topic-form.html',
            //resolve: loadSequence('spin', 'ladda', 'angular-ladda'),
            title: 'Topic Form'
        }).state('topic.edit', {
            url: "/edit/:id",
            templateUrl: '/employee/form/edit',
            title: 'Agency Form'
        })
                .state('dashboard', {<commit_msg>Ladda module added<commit_after>'use strict';
/*!
 * Config for the router
 * Version: 1
 *
 * Copyright 2016 Janaagraha.  
 *
 * Author: <NAME> <<EMAIL>>
 * Related to project of Swachh Bharath
 */
app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$compileProvider', '$filterProvider', '$provide', '$ocLazyLoadProvider', 'JS_REQUIRES',
    function ($stateProvider, $urlRouterProvider, $controllerProvider, $compileProvider, $filterProvider, $provide, $ocLazyLoadProvider, jsRequires) {

        app.controller = $controllerProvider.register;
        app.directive = $compileProvider.directive;
        app.filter = $filterProvider.register;
        app.factory = $provide.factory;
        app.service = $provide.service;
        app.constant = $provide.constant;
        app.value = $provide.value;

        // LAZY MODULES

        $ocLazyLoadProvider.config({
            debug: false,
            events: true,
            modules: jsRequires.modules
        });

        /*
         * APPLICATION ROUTES
         * -----------------------------------
         * For any unmatched url, redirect to /dashboard
         */
        $urlRouterProvider.otherwise("/dashboard");
        /* Set up the states */
        $stateProvider.state('app', {
            url: "/app",
            templateUrl: '/tpl/dashboard.html',
            //resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'chatCtrl', 'truncate', 'htmlToPlaintext', 'angular-notification-icons'),
            // resolve: loadSequence('angular-notification-icons'),
            abstract: true
        })
                /* Topics routes */
                .state('topic', {
                    url: "/topic",
                    template: '<div  ui-view class="view" ></div>',
            resolve: loadSequence('topicCtrl','spin', 'ladda', 'angular-ladda'),
                    abstract: true
                }).state('topic.list', {
            url: "/list",
            templateUrl: '/tpl/topics.html',
            //resolve: loadSequence('topicCtrl'),
            title: 'topics'
        }).state('topic.form', {
            url: "/form",
            templateUrl: '/tpl/topic-form.html',
            //resolve: loadSequence('spin', 'ladda', 'angular-ladda'),
            title: 'Topic Form'
        }).state('topic.edit', {
            url: "/edit/:id",
            templateUrl: '/tpl/topic-form.html',
            title: 'Topic Form'
        })
                .state('dashboard', {
{'fraction_non_alphanumeric': 0.1618153963998468, 'fraction_numerical': 0.0019149751053236309, 'mean_word_length': 2.017331022530329, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5199682', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1398, 'n_words': 292}