title: AngularJs and Facebook Comments
body: <p>I'm trying to dynamically update the review of facebook on my html , however is not showing , follow my Plunker.</p>
  
  <p>WHAT can be done to render the comments ?</p>
  
  <pre><code>http://plnkr.co/edit/ggt7r0
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var app = angular.module('plunker', []);
  
  app.controller('MainCtrl', function($scope) {
    $scope.fbComments = '&lt;div id="comentarios" class="fb-comments" data-href="http://developers.facebook.com/docs/plugins/comments/" data-width="100%" data-numposts="5"&gt;&lt;/div&gt;';
    
    
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="plunker"&gt;
  
    &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;title&gt;AngularJS Plunker&lt;/title&gt;
      &lt;script&gt;document.write('&lt;base href="' + document.location + '" /&gt;');&lt;/script&gt;
      &lt;link href="style.css" rel="stylesheet" /&gt;
      &lt;script data-semver="1.2.13" src="http://code.angularjs.org/1.2.13/angular.js" data-require="angular.js@1.2.x"&gt;&lt;/script&gt;
      &lt;script src="script.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
  
    &lt;body ng-controller="MainCtrl"&gt;
       &lt;div id="fb-root"&gt;&lt;/div&gt;
          &lt;script&gt;(function (d, s, id) {
                  var js, fjs = d.getElementsByTagName(s)[0];
                  if (d.getElementById(id))
                      return;
                  js = d.createElement(s);
                  js.id = id;
                  js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&amp;version=v2.4";
                  fjs.parentNode.insertBefore(js, fjs);
              }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
              
      &lt;p&gt;&lt;div ng-if="fbComments"&gt;  
      &lt;div ng-bind-html="fbComments"&gt;&lt;/div&gt;    
     
                                          
                     &lt;/div&gt;    &lt;/p&gt;
    &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>LO0fC7XWJMts2P</p>