nitweb: move index state configuration to index module
[nit.git] / share / nitweb / javascripts / nitweb.js
index a263222..9584f08 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',