I am sending http request to my server and the response is a html:
<html>
<head>
  <link rel = "stylesheet" type="text/css" href="CSS/jQUERYUI.css">
</head>
<body>
<div id = "first">
data : someData
</div>
</body>
</html>
I want the current page will refresh with the response data so I tried:
$http({
  method: 'POST',
  url: '/someUrl'
}).then(function(response) {
      var win = window.open(window.location.href, '_blank');
      $(win.document.body).html(response.data)
  }, function(error) {
  });
And some of the 535 ways to reload page using js 535-ways-to-reload. Still I was not able to reload the current page with the response html.
Also I want the the url of the current page won't change.
angularjs ways to do so will be great as well.
Thanks for ant help.
 
     
     
    