Mateusz Bilski
Member since Feb 27, 2013
- Profile: /members/10701-mateusz-bilski.htm
- URL: https://github.com/matys84pl
- Comments: 3
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 »