Refresher shows doubles

Hi, I used the ionic refresher to update a json file.
Everything works fine, but the first second or so, all objects are appearing 2 times.
After a second or so, it just shows the array fine.

Here’s my code:

app.controller('tableController', function ($scope, $http) {

    $scope.getData = function (jsonstring) {
        $http.get(jsonstring).then(function (res) {
            $ =;

    $scope.refreshData = function () {

And my view:

<ion-view title="My app'" left-buttons="leftButtons">
    <ion-content has-header="true" padding="true" on-refresh="refreshData()">
        <div class="list">
            <ion-item ng-repeat="user in data" item="item">
                <div class="row">
                    <div class="col">{{}}</div>                        

Any help ? Thanks in advance.

Add a track by expression to your ng-repeat.

<ion-item ng-repeat="user in data track by" item="item">

Thanks a lot, that fixed it.

did not work for me. been having this issue for months. i was already use track by before it started happening