ng-click handler called twice

3,240 views
Skip to first unread message

Stephen Huey

unread,
Mar 20, 2013, 7:23:07 PM3/20/13
to ang...@googlegroups.com
I'm the only team member using Angular for a section of the code, and everything was great until a bunch of code got merged in, and I'm hunting for the cause of my button's ng-click handler being called twice.  They wrote some new jQuery livequery stuff, and so far I haven't found anything that would cause my button's click event to be fired twice.  Any ideas?  

Stephen Huey

unread,
Mar 20, 2013, 11:49:17 PM3/20/13
to ang...@googlegroups.com
All kinds of funky stuff may go down if your teammate has added angular.js to the layout a second time.  :)  

Sweet dreams,
Stephen

Bao Zhi Liu

unread,
May 14, 2014, 3:37:55 PM5/14/14
to ang...@googlegroups.com
Stephen, you rocks.

I tried to find the reason for many hours, but failed. I finally solved the issue based on your solution.

Thank you.

Stephen Huey

unread,
May 14, 2014, 3:47:39 PM5/14/14
to ang...@googlegroups.com
Ha, glad you got it worked out!  

Stephen


--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/66dxh2Apd48/unsubscribe.

To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Brian Sanchez

unread,
Aug 18, 2014, 2:09:06 PM8/18/14
to ang...@googlegroups.com
that helped a lot. thanks
Reply all
Reply to author
Forward
0 new messages