【发布时间】:2013-06-14 12:20:06
【问题描述】:
我想将特定变量传递给 angularJS 中的新视图。
这就是我想要做的:
$scope.login_username_model = $scope.register_username_model;
$location.path('/confirmation');
在我的确认视图中,我将一个表单字段绑定到 login_username_model。
但是,当我点击确认视图时,我的表单是空的。我能做些什么来填充这个变量?或者我该如何调试?
【问题讨论】: