Ajith Mohan

Ajith Mohan

  • 603
  • 1.8k
  • 319.9k

How to prevent routing while server side rendering angular 1

Dec 24 2017 10:20 AM
Hi,
 
I am rendering the page on the server side due to some compulsion and am using angular route as well to have a pjax effect.
But once my page loads the div with ng-view reloads causing a double request for the same page/view.
I am using angular 1.5 and ASP.NET MVC 
Please help.
Thanks in advance...

Answers (2)