nitweb: move ui-router configuration to doc-down module
[nit.git] / share / nitweb / javascripts / nitweb.js
index a263222..e0fde2f 100644 (file)
 
        .config(function($stateProvider, $locationProvider) {
                $stateProvider
-                       .state('index', {
-                               url: '/',
-                               templateUrl: 'views/index.html',
-                               controller: 'IndexCtrl',
-                               controllerAs: 'indexCtrl'
-                       })
                        .state('user', {
                                url: '/user',
                                templateUrl: 'views/user.html',
                                controller: 'UserCtrl',
                                controllerAs: 'userCtrl'
                        })
-                       .state('docdown', {
-                               url: '/docdown',
-                               templateUrl: 'views/docdown.html',
-                               controller: 'DocdownCtrl',
-                               controllerAs: 'docdownCtrl'
-                       })
                        .state('grades', {
                                url: '/grades',
                                templateUrl: 'views/grades.html',
                                },
                            template : "<div></div>"
                        })
-                       .state('doc', {
-                               url: '/doc/:id',
-                               templateUrl: 'views/doc.html',
-                               controller: 'EntityCtrl',
-                               controllerAs: 'entityCtrl',
-                       })
                        .state({
                                name: '404',
                                url: '*path',