{{item.status}}是一种单项数据绑定。{{item.status}}
在controller中是使用$scope定义的。你可以使用ng-module进行双向数据绑定。这个时候,当界面中数据变化,controller中的这个数据同时变化就可以取到数值了。
如:
Your name:
Hello {{yourname || 'World'}}!
js:
$scope.yourname=[];
$log.info('yourname',yourname);
通过console就能直接看见,使用的话,直接使用$scope.yourname