在Angular strap模式下使用jQuery插件时遇到的问题

在Angular strap模式下使用jQuery插件时遇到的问题,jquery,angularjs,angular-strap,Jquery,Angularjs,Angular Strap,我尝试在我的项目中使用,但在角带模式中效果不好。这是你的电话号码 在主页中,antify.js运行良好: 但是当涉及到模式页面时,插件不起作用。 此外,plnker无法显示模式页面,您可以将代码从plnker复制到本地项目。谢谢 myApp.controller("CreateModalCtrl", function($scope) { //$("#members").mention({users: usersInfo}); setTimeout(function(){ $("

我尝试在我的项目中使用,但在角带模式中效果不好。这是你的电话号码

在主页中,antify.js运行良好:

但是当涉及到模式页面时,插件不起作用。

此外,plnker无法显示模式页面,您可以将代码从plnker复制到本地项目。谢谢

myApp.controller("CreateModalCtrl", function($scope) {
//$("#members").mention({users: usersInfo}); 
setTimeout(function(){
      $("#members").mention({users: usersInfo});            
      $scope.$apply();}, 0);});
然后它工作了

myApp.controller("CreateModalCtrl", function($scope) {
//$("#members").mention({users: usersInfo}); 
setTimeout(function(){
      $("#members").mention({users: usersInfo});            
      $scope.$apply();}, 0);});