Skip to main content

Anil Anar

Member since Jan 27, 2016

Recent Blog Comments By Anil Anar

  • Don't Blindly Isolate All The Scopes In AngularJS Directives

    Posted on Jan 27, 2016 at 9:58 AM

    @Anil, Just an update after reading Ben's last comment. It's very unlikely for a developer to create something like ngRepeat. When one does, he will know what to do (at which point he should be master of scopes, private scope variables, transclusions, compiling, linking etc). So my point is still v... read more »

  • Don't Blindly Isolate All The Scopes In AngularJS Directives

    Posted on Jan 27, 2016 at 9:54 AM

    Almost on spot, but not quite. However, any reader can easily conclude when it is better to use isolate scopes from your examples: ngStyle, ngClick, ngClass etc. They don't add new stuff to DOM (templates) but rather they modify attributes/events of the element they are applied to. That is exactly ... 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