Skip to main content

Dirk Räder

Member since Apr 26, 2016

Recent Blog Comments By Dirk Räder

  • Unbinding Scope.$on() Event Handlers In AngularJS

    Posted on Apr 26, 2016 at 9:19 AM

    Hi, I've taken this a bit further to create a "run once" event handler: var deregisterRunOnceHandler = $scope.$on('eventName', function() { [...] deregisterRunOnceHandler(); deregisterRunOnceHandler = null; }); Can be useful for others as well. Regards, Dirk... 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