arusahni / ngtweet

Easily embed Twitter widgets into your Angular application! No more having to kludge together a Twitter script loader, or manage embed state on route/visibility change.
http://arusahni.github.io/ngtweet/
MIT License
34 stars 22 forks source link

Tweets not rendering second time around. #14

Closed luncht1me closed 8 years ago

luncht1me commented 8 years ago

When I first load a page that has a tweet-widget directive, it loads.

But as soon as I navigate to a different part of the site, tweets no longer load on pages where the directive is present.

$window.twttr doesn't exist anymore the second time around either.

arusahni commented 8 years ago

Thanks for the bug report! Could you provide a CodePen/Plunker/JSBin replicating the issue?

arusahni commented 8 years ago

Hi, @luncht1me, were you able to generate a code sample that reproduces the problem?

arusahni commented 8 years ago

Since I haven't been able to replicate this behavior, I'm going to close the issue. Feel free to reopen it if you can provide an example where it breaks.