add previous item to ng-repeat