title: How to get angularjs http request url from options
body: <pre><code>var httpOptions = {
      url: "http://doman/files",
      method: "GET",
      params : {
          type: pdf,
          page: '112',
          country: "USA",
          lang: "en"                    
      }
  };
  
  $http(httpOptions).success(function(data){  });
  </code></pre>
  
  <p>I am using angularjs. I have an http options to send server. But I want to get the parsed url after succes like this, because I have a lat of params and not want do manually: </p>
  
  <pre><code>http://mydoman/files?type=pdf&amp;page=112&amp;country=USA&amp;lang=en
  </code></pre>