Skip to main content
Ben Nadel at NCDevCon 2016 (Raleigh, NC) with: Matthew Eash
Ben Nadel at NCDevCon 2016 (Raleigh, NC) with: Matthew Eash ( @mujimu )

John L

Member since Oct 22, 2014

Recent Blog Comments By John L

  • Using Track-By With ngRepeat In AngularJS 1.2

    Posted on Nov 19, 2014 at 3:23 PM

    Great post ... Aside from ng-repeat performance improvement -- which I guess is the main point here -- when not destroying and creating scopes, this allows our scopes to keep track of previous states and implement state machines via watches, which just isn't possible with vanilla ng-repeat.... read more »

  • Capturing Document-Click Events With AngularJS

    Posted on Oct 22, 2014 at 9:05 AM

    To observe clicking on iFrames I just register the same click handler into the iFrame contents: var iFrameChildren = $document.find( 'iframe' ).contents(); iFrameChildren.on ( 'click', clickEventHandler ); scope.$on ( '$destroy', function(... read more »

  • Capturing Document-Click Events With AngularJS

    Posted on Oct 22, 2014 at 5:31 AM

    This was very informative. Thanks for sharing. IFrames are also a specific case, as they don't bubble up click events into their containing document. Would be particularly useful to see a solution for this without using jQuery but just jqLite.... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel