title: AngularJs and AddThis social plugin
body: <p>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 refresh the page it does (ctrl+F5) . I think AngularJs loads the partial views via Ajax an in that case addthis does not show the social icons of the loaded page.</p>
  
  <p>This is the index code:</p>
  
  <pre><code>&lt;header&gt;
         .....
  &lt;/header&gt;
  &lt;div&gt;
       &lt;section id="content" ng-view&gt;&lt;/section&gt;
  &lt;/div&gt;
  &lt;footer id="footer" ng-controller="footerCtrl"&gt;
       ...
  &lt;/footer&gt;
  </code></pre>
  
  <p>This is the partial view that loads in the section tag ,where i have the addthis icons:</p>
  
  <pre><code>&lt;div class="ad-col" &gt;
          &lt;p ng-bind-html-unsafe="homeContent.promo.entradilla"&gt;&lt;/p&gt;
          &lt;br /&gt;
          &lt;br /&gt;
          &lt;!-- AddThis Button BEGIN --&gt;
          &lt;div class="addthis_toolbox addthis_default_style addthis_32x32_style"&gt;
              &lt;a class="addthis_button_facebook"&gt;&lt;/a&gt;
              &lt;a class="addthis_button_twitter"&gt;&lt;/a&gt;
              &lt;a class="addthis_button_linkedin"&gt;&lt;/a&gt;
              &lt;a class="addthis_button_google_plusone_badge"&gt;&lt;/a&gt;
              &lt;a class="addthis_button_pinterest_pinit"&gt;&lt;/a&gt;
              &lt;a class="addthis_button_compact"&gt;&lt;/a&gt;
              &lt;a class="addthis_counter addthis_bubble_style"&gt;&lt;/a&gt;
          &lt;/div&gt;
          &lt;!-- AddThis Button END --&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Of course, i have the script reference fot AddThis in the Home page:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;var addthis_config = { "data_track_addressbar": true };&lt;/script&gt;
      &lt;script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5113c1e01aaacb3f"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I have the jquery script reference before angularJs reference:</p>
  
  <pre><code>        &lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>