ng-repeat 无法解析阿拉伯语 object

ng-repeat unable to parse arabic object

我正在根据以下阿拉伯语内容创建 json object

$scope.arabicContent = ["大堂","会议室","移动程序员","经理","会计","会计","程序员","厨房",一楼

但是 ng-repeat 不能 parse/iterate 这个 object 在 html 边

<select name="meetingLocation" ng-model="data.meetingLocation">  <option ng-repeat="location in arabicContent" value="{{ location }}">{{ location }}</option> </select>

试图 ng-repeat 通过 plunker 中的阿拉伯语数组,我得到的错误是 [ngRepeat:dupes] Duplicates in a repeater are not allowed。因此,对我来说,该数组中似乎有重复的文本(我可能是错的)。

该错误的解决方案是告诉 ng-repeat 按索引而不是内容进行跟踪。

ng-repeat="arabic in arabicContent track by $index"

这里是 plunker:https://plnkr.co/edit/uaIzf5Xty9o0GpIMdW0x?p=preview