|
|
@@ -34,7 +34,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
url : "/sale",
|
|
|
views : {
|
|
|
"left-view" : {
|
|
|
- templateUrl : "static/tpl/index/sale/left.html"
|
|
|
+ templateUrl : "static/tpl/index/sale/left.html",
|
|
|
+ controller: 'LeftCtrl'
|
|
|
},
|
|
|
"right-view" : {
|
|
|
templateUrl : "static/tpl/index/sale/right.html"
|
|
|
@@ -148,7 +149,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
url : "/account",
|
|
|
views : {
|
|
|
"left-view" : {
|
|
|
- templateUrl : "static/tpl/index/account/left.html"
|
|
|
+ templateUrl : "static/tpl/index/account/left.html",
|
|
|
+ controller: 'LeftCtrl'
|
|
|
},
|
|
|
"right-view" : {
|
|
|
templateUrl : "static/tpl/index/account/right.html"
|
|
|
@@ -156,10 +158,12 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
}
|
|
|
}).state('account.index', {
|
|
|
url : "",
|
|
|
- templateUrl : "static/tpl/index/account/index.html"
|
|
|
+ templateUrl : "static/tpl/index/account/index.html",
|
|
|
+ controller: 'RightCtrl'
|
|
|
}).state('account.home', {
|
|
|
url : "/",
|
|
|
- templateUrl : "static/tpl/index/account/index.html"
|
|
|
+ templateUrl : "static/tpl/index/account/index.html",
|
|
|
+ controller: 'RightCtrl'
|
|
|
}).state('account.enterprise', {
|
|
|
url : "/enterprise",
|
|
|
templateUrl : "static/tpl/index/account/enterprise.html",
|