I am trying to scrape a website using angularjs / javascript.
I know that angularjs provides an $http object with which I can make get requests. I have previously used this to obtain json, can I use the same object to obtain XML (HTML)? (I believe the response will be encoded using gzip).
Thanks!