Hadas
Member since Nov 14, 2013
- Profile: /members/11408-hadas.htm
- Comments: 2
Recent Blog Comments By Hadas
-
Using Track-By With ngRepeat In AngularJS 1.2
Posted on Nov 14, 2013 at 5:56 PM
Another very important thing I just realized: When using Angular Resources (resource.query(...)), the return value is actually a "future" and not the data itself, so in case the ng-repeat is bound to a property in the $scope that is actually a future, when replacing that future with a new... read more »
-
Using Track-By With ngRepeat In AngularJS 1.2
Posted on Nov 14, 2013 at 5:48 PM
Great post, it's definitely a great feature of the new version. One thing I realized when playing with it though is that when using filter in the repeat expression (item in items | filter:search track by item.id) it seems that elements are still destroyed and recreated in the DOM. so back to your p... read more »