I am utilizing AngularJS for specific features in my system, not to build a single-page application. I am struggling to determine why Angular is preventing the page from refreshing after navigating there or how to disable/find a workaround.
Here is an example of a simple menu:
<ul>
<li><a href="/admin">Homepage</a></li>
<li><a href="/admin/profile">Profile</a></li>
</ul>
When I am already on the http://example.com/admin
page and click on the first link (/admin
), nothing happens.
I thought about checking if a particular a
element has an
href</code] attribute and then using<code>window.location
, but I am also using AJAX in other parts of the system, so that solution won't work.
Any advice would be greatly appreciated.