Angular-meteor: ng-repeat with track by not working


I have a problem with angular meteor that bugs me for several weeks now. Unfortunately, I have not found a solution yet.

I have a control which looks like this:

function ItemsListController($scope, $reactive) {
        var vm = this;

        vm.limit = 5;

            items: function() {
                return Items.find({}, {limit: vm.getReactively('limit')});

        vm.increaseLimit = function() {
            if (vm.limit < 100) {
                vm.limit += 5;

Template looks like this:

    <li ng-repeat="item in vm.items track by item._id">
        {{}} (Number: {{item.number}})

This code is working as expected. The only problem is, that every item is rendered again when vm.limit is changed. Only the added items should be rendered.

I’m not sure if this is a Meteor or a angular-meteor bug. The user is able to change the limit with a slider, which is working, but since all items are rendered again, the view is flickering.

Does anyone know a solution for this problem?


@Ben305 Please try with the new 1.3.9_2 version. it should be working now.

@Urigo: Yes, it’s working, 252d2d4 has fixed the problem :slight_smile:

1 Like