加载ng重复数据后如何加载jQuery插件指令

加载ng重复数据后如何加载jQuery插件指令,jquery,angularjs,angularjs-directive,ng-repeat,Jquery,Angularjs,Angularjs Directive,Ng Repeat,我正在使用AngularJS,并试图使标签管理器指令。问题是,当调用jQuery插件时,标记输入和名称输入还没有{{index}}值。我怎样才能修好它 我的HTML代码: <div ng-repeat="(index, title) in shop.locales" style="position: relative"> <span> {{ title }}</span> <div class="input-block">

我正在使用AngularJS,并试图使标签管理器指令。问题是,当调用jQuery插件时,标记输入和名称输入还没有{{index}}值。我怎样才能修好它

我的HTML代码:

 <div ng-repeat="(index, title) in shop.locales"  style="position: relative">  
    <span> {{ title }}</span>  
    <div class="input-block">  
      <input tags prefilled="product.tags[index]" tags-options="{hiddenTagListName: scope.locale+'_tagList'}" locale="index" class="{{index}} tag tm-input" name="{{ index }}_tags" placeholder="Tags"/>  
       </div>  
  </div>

您是否尝试过以零延迟将逻辑封装在
$timeout
的回调中

像这样:

$timeout(function yourLogicHere() {}, 0);
这个回调应该在
$digest
循环之后调用,因此所有数据都应该已经绑定到DOM

$timeout(function yourLogicHere() {}, 0);