1
在角火documentation,这里有两行,我想了解:
// To make the data available in the DOM, assign it to $scope
$scope.data = obj;
// For three-way data bindings, bind it to the scope instead
obj.$bindTo($scope, "data");
他们在做同样的事情?两者都绑定到3路数据绑定的范围吗?
感谢弗兰克。现在明白了。 – Nexus23