我想知道一种将标签绑定到自定义角度输入字段的简单方法。当前代码不起作用 代码在这里
<div class="col-sm-3 padding-zero">
<label for="past" class="lbl">Have You Ever Had Past History:</label>
</div>
<div class="col-sm-9 padding-zero" >
<tags-input ng-model="past_history" placeholder="Past History" id="past" >
<auto-complete source="loadPast_history($query)" ></auto-complete>
</tags-input>
<input type="hidden" value="<% past_history %>" name="past_history" >
</div>
由于我不熟悉Angularjs,有人可以建议一种简单的方法来绑定taginput字段的标签,以便点击标签会聚焦taginput吗?