标签:
基本调用,得到name 属性
<select ng-model="target" ng-options="obj.name as obj.name for obj in [{ name: ‘a‘, id: 1 }, { name: ‘b‘, id: 2 }]"></select>
angular : ng-options
原文地址:http://www.cnblogs.com/stooges/p/4904042.html