Skip to main content

Mateusz Bilski

Member since Feb 27, 2013

Recent Blog Comments By Mateusz Bilski

  • Using ngController With ngRepeat In AngularJS

    Posted on Feb 27, 2013 at 3:27 PM

    @Ben and @John, of course I agree with you, it's never a black or white decision as you can have multiple solutions and all with their own drawbacks. Regarding the digest cycle, your "{selected: isSelected}" and "isShowingNickname" also will be checked/validated every time. Tha... read more »

  • Using ngController With ngRepeat In AngularJS

    Posted on Feb 27, 2013 at 2:48 PM

    Btw, I've found your blog via my github where someone posted link to this entry: https://github.com/matys84pl/angularjs-requirejs-lazy-controllers/issues/4... read more »

  • Using ngController With ngRepeat In AngularJS

    Posted on Feb 27, 2013 at 2:38 PM

    @Ben, nice example, however I think this kind of selection can be easily achieved without having to instantiate a controller for each repeater item. Having the selection logic in one place makes it easier to read and understand (as you don't have to do this "implicit" parent scope method ... 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