so i have an angular app with custom routing set up.
all <a> links outside any angular scope with $route (in my case, the only scope is the ng-view) navigate like normal (ie. standard location change and page reload, as if angular didn't exist)
all links inside inside an angular scope with $route (ie. my ng-view) get routed through angular's $routeProvider - they are given a template and controller.
my question
how do i make an <a> link inside my ng-view navigate away from the angular app, to a different, static, non-angular location in the site?
Just use
<a target="_self" href="url">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With