Skip to main content

Robert

Member since Jan 18, 2014

Recent Blog Comments By Robert

  • Using Track-By With ngRepeat In AngularJS 1.2

    Posted on Jul 29, 2015 at 4:50 PM

    How about nested ng-repeats? Suppose you display posts (using track by to their ID) and inside these posts you also display last 5 comments (using track by comment ID). Posts themselves don't change but comments do. How would this work? Would top ng-repeat prevent updating inner comments because po... read more »

  • Using Base Controllers In AngularJS - An Experiment

    Posted on Apr 22, 2015 at 11:08 AM

    @Ben did you think of keeping base types defined as angular values? This way DI wouldn't instantiate them and you would have access to the type definition directly. Do you think that could work? ``` app.value("BaseController", BaseController); BaseController.$inject = [...] function Base... read more »

  • Loading AngularJS Components With RequireJS After Application Bootstrap

    Posted on Jan 18, 2014 at 9:22 AM

    This looks very nice and clean, but what about AngularJS routing? Do you have an example of such combination (Angular + Routing + Require)? And in such situation should all routes be predefined at application bootstrap or can we also add new routes when modules are lazy loaded and they register addi... 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