title: getting the html content of the url specified in AngularJS
body: <p>I am using the $http.get('url') to get the content present in the 'url' present. The html in 'url' is as follows</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
      &lt;pre style = "word-wrap: break-word; white-space: pre-wrap;"&gt;
          &lt;!-- content is present here --&gt;
      &lt;/pre&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I make a $http.get to this url, I get some data and the required content</p>
  
  <pre><code>GET /TYPE=abvd HTTP 1.1
  content required
  
  .0.1234.123 Safari /123.12
  Referer: //url of the webpage calling this function
  Accept-Encoding: 
  ...............
  </code></pre>
  
  <p>How do I get rid of this extra information and receive only the content? (I know we can just parse the response but is there a better way of doing it? )</p>
  
  <p>EDIT:
  The data response I got was seen in google chrome, when I run the same script in IE10, I get the only the "html content" as desired. Why does this difference occur and how do I make process it?</p>