Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with:

Fritz Lekschas

Member since Sep 17, 2012

Recent Blog Comments By Fritz Lekschas

  • Capturing Document-Click Events With AngularJS

    Posted on Sep 18, 2012 at 10:02 AM

    @Ben, Yes basically it's the same. :) I just wanted to point out that you don't need $document and $parse. And when u rely on angulars internal bind method you also don't need to manually digest. Nevertheless I guess this only makes minor differences in performance. Best Fritz... read more »

  • Capturing Document-Click Events With AngularJS

    Posted on Sep 17, 2012 at 3:20 PM

    Why don't you just create a micro directive and capture the click with angulars bind method? I would use something like this: .directive('globalEvents', function(News) { return function(scope, element, attrs) { element.bind('click', function(e){ // Do something }) } }) and add the direc... read more »