|
|
@@ -6,7 +6,7 @@ angular.module('app').run(['$rootScope', '$state', '$stateParams',
|
|
|
}
|
|
|
]).config(['$stateProvider', '$urlRouterProvider',
|
|
|
function($stateProvider, $urlRouterProvider) {
|
|
|
- $urlRouterProvider.otherwise('/webChat/detail'); //
|
|
|
+ $urlRouterProvider.otherwise('/home'); //
|
|
|
$stateProvider.state('home', {
|
|
|
url: '/home',
|
|
|
templateUrl: 'templates/home.html',
|
|
|
@@ -20,7 +20,7 @@ angular.module('app').run(['$rootScope', '$state', '$stateParams',
|
|
|
.state('webChat.service', {
|
|
|
url: '/service',
|
|
|
templateUrl: 'templates/service.html',
|
|
|
- controller: 'WebController'
|
|
|
+ controller: 'ServiceController'
|
|
|
})
|
|
|
.state('webChat.maxOne', {
|
|
|
url: '/maxOne',
|