如何在angularjs UI-路由器中的状态之间共享$Scope数据?
$scope
.
.state("main", { controller:'mainController', url:"/main", templateUrl: "main_init.html" }) .state("main.1", { controller:'mainController', parent: 'main', url:"/1", templateUrl: 'form_1.html' }) .state("main.2", { controller:'mainController', parent: 'main', url: "/2", templateUrl: 'form_2.html' })
aluckdog
犯罪嫌疑人X
素胚勾勒不出你
相关分类