I have a view that contains an anchor link. That link has an href to another url in my site. Angular tries to load that site, using html5mode. I would rather just have de
AngularJS understands a few rules that will make the browser perform a full reload. The rules are documented under the 'Html link rewriting' section in the $location service documentation.
From the documentation:
In cases like the following, links are not rewritten; instead, the browser will perform a full page reload to the original link.
link
link
link
Note that the last example only works if you have used the base
element in the head section of your page: