尝试从角度表达式中读取 mongo _id 字段时:
<tr ng-repeat="person in people">
<td>{{person._id}}</td>
<td>{{person.name}}</td>
<td>{{person.location}}</td>
<td>{{person.active}}</td>
</tr>
抛出以下错误:
"Referencing private fields in Angular expressions is disallowed"
plunker 链接:http ://plnkr.co/edit/dgHNP2rVGPwAltXWklL5
编辑:
此更改已在 Angular 1.2.1 中恢复:https ://github.com/angular/angular.js/commit/4ab16aaaf762e9038803da1f967ac8cb6650727d