<a> in Angular
September 29, 2014
Today, I was working on making a Rails & Angular project HTML 5 URL compatible. I arrived at a snag, where my anchor tags weren’t causing a page change when I wanted them to.
The fix was to make sure the
<a> tags had
target = '_self', so Angular would stop absorbing the clicks.
Hey, I'm Ian. I build websites and write about what I learn as I go. Follow me on Twitter.