您需要在父作用域中使用一个对象(不是原始对象),然后就可以直接从子作用域中更新它
上级:
app.controller('ctrlParent',function($scope){ $scope.parentprimitive = "someprimitive"; $scope.parentobj = {}; $scope.parentobj.parentproperty = "someproperty";});ctrlChild:
app.controller('ctrlChild',function($scope){ $scope.parentprimitive = "this will NOT modify the parent"; //new child scope variable $scope.parentobj.parentproperty = "this WILL modify the parent";});工作演示 :http ://jsfiddle.net/sh0ber/xxNxj/



