Angularjs: Event handler attached to all anchor tag 'a'
Posted: | More posts about javascript angularjs
Noticed today that angular modify the behavior of 'a' tag to include some event handler by default. Discover this after getting error Object #<g> has no method 'on'
error in my dev console. The error actually showing up after I added jquery to the page but the fact that angular attaching event to all 'a' tag really suprising. I have some 'normal' links I don't want any fancy behavior, just a link. Found a post on how to create new directive to disable the behavior but for now I manage to escape from this by simply not using angular together with jquery.