title: Why do Facebook buttons disappear in angular app on view change?
body: <p>If I refresh the page they come back and work fine.  If i go to another "view" and go back they disappear.</p>
  
  <p>They function fine when they are there.</p>
  
  <pre><code> &lt;fb:login-button scope="public_profile,email" ng-click="login()" &gt;
        &lt;/fb:login-button&gt;
  
  
  &lt;div class="fb-like" data-share="true" data-width="450" data-show-faces="true"&gt;
  </code></pre>
  
  <p>I'm going to implement this:<a href="https://christopherthielen.github.io/ui-router-extras/#/sticky" rel="nofollow">https://christopherthielen.github.io/ui-router-extras/#/sticky</a> as it seems to address the issue.  But understanding why would help me plan future work.</p>
  
  <p><strong>Bonus</strong>: Comment on my approach to fix it or offer other suggestions.</p>
  
  <p>EDIT: removing this: <code>ng-hide="isAuthenticated"</code> in the login-button, as this actually works and the effect im describing here happens regardless of it being there.</p>