I am working with angularjs in html 5 mode. Which appears to take control of all href's on the page. But what if I want to have a link to something within the same domain of the app but not actually in the app. An example would be a pdf.
If i do
in HTML5 mode, there are three situations in which the A tag is not rewritten: from the angular docs -
<a href="/ext/link?a=b" target="_self">link</a>
Example: <a href="http://angularjs.org/">link</a>
Example: <a href="/not-my-base/link">link</a>
so your case would be 1. add