I'm using AngularJS not to build SPA but just for certain features in the system. I'm having a trouble to find out why Angular is preventing page from being refreshed after it get's there or how to disable/workaround it.
So I have simple menu:
<ul>
<li><a href="/admin">Homepage</a></li>
<li><a href="/admin/profile">Profile</a></li>
</ul>
And when I'm already on the http://example.com/admin
page and I'm clicking in first link (/admin
) then nothing happens.
I could detect if a certain a
element has a href
and then use window.location
but unfortunately I'm using AJAX in some other parts of the system so that won't fit.
Please advise.