Angular JS views not updating properly

前端 未结 2 869
-上瘾入骨i
-上瘾入骨i 2021-02-07 07:35

I have the following action

ng-click in my view -> which inturn calls a jQuery ajax function that displays jQuery Qtip

2条回答
  •  渐次进展
    2021-02-07 07:52

    You have to tell angular Js something has changed with $scope.$apply().

    Here is a nice blog on why: http://www.yearofmoo.com/2012/10/more-angularjs-magic-to-supercharge-your-webapp.html#apply-digest-and-phase

提交回复
热议问题