AngularJS won't refresh the page if the link that is clicked is with the same URL as the current page

angularjs

Solution

Had the same problem with angular, adding `target="_parent"` attribute to the link made it work.

Problem

I noticed this on two of my projects where I'm using AngularJS, so I'm assuming it's an issue with AngularJS. Let's say I have a button on the menu that says "Register" and takes me to /account/register page. But, if I'm on the /account/register page, clicking the button won't refresh the page. It's like the button is disabled. This is always happening when the link I want to click has the same URL as the current page I'm on. The URLs are simple `<a href="something1/something2">Link</a>`. How can I remove this behavior?

Original source

Related problems