AngularJs and AddThis social plugin

后端 未结 6 1677
时光说笑
时光说笑 2020-12-10 06:37

I\'m trying to use the AddThis javascript Social plugin in an AngularJS App, but It does not updates the addthis plugin icons when I load a partial with ng-view. If I refres

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 07:37

    You're probably going to need to put the script tag references for your add this script in your partial. That would be the easiest fix.

    What's happening is at the time they're being run, the partial hasn't loaded yet, so they don't affect anything.

提交回复
热议问题