<oi-select oi-options="student.name for student in students track by student._id"
multiple placeholder="Select student(s)" autofocus>
这是template.html
我在directive.js中有$ scope.selectedStudents。我想在$ scope.selectedStudents中为oiselect中的默认选择选项创建名称。感谢。