title: Angularjs - Retrieve html of page given a link
body: <p><br>
  How can I get html-code of a webpage from an angular directive? 
  in my example I have an html code:</p>
  
  <pre><code>&lt;div class="modal-body" data-ng-bind-html="myHTML"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to place inside the div the content of another page! In my directive I do something like:</p>
  
  <pre><code>$rootScope.myHTML = link;
  </code></pre>
  
  <p>Where link should contains the whole html of the page! If myHtml="http://www.google.com", how can I retrieve the content of 'link'?</p>