title: Ionic AngularJS Facebook like button for Facebook page
body: <p>this code is working when i run in the browser. But not works in iPhone simulator.</p>
  
  <p>I checked in the console, there is no error.</p>
  
  <p>My goal is to add a Facebook like button which points to my Facebook Page in the ionic app. I try to implement using the basic code from the <a href="https://developers.facebook.com/docs/plugins/like-button" rel="nofollow">Facebook developers site</a>. But this is also not working.</p>
  
  <p><a href="http://plnkr.co/edit/1c5cWB?p=preview" rel="nofollow">Plunker Demo</a></p>
  
  <pre><code>&lt;script type="text/ng-template" id="like.html"&gt;
    &lt;div ng-if="pluginOn" onrender="rendered()" class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"&gt;&lt;/div&gt;
  &lt;/script&gt;
  </code></pre>