Community Member Profile
- Profile: /members/10284-Fritz-Lekschas.htm
- Comments: 2
- Points: 21
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 Fritzread 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.b... read more »



