Robert
Member since Jan 18, 2014
- Profile: /members/11562-robert.htm
- Comments: 3
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 »