code: function (wishlist) {
          if (!wishlist) {
              return wishlist;
          }
  
          for (var key in wishlist) {
              wishlist[key].product = sofa.Util.extend(new sofa.models.Product(), wishlist[key].product);
          }
          return wishlist;
      }
docs: http://mutablethought.com/2013/04/25/angular-js-ng-repeat-no-longer-allowing-duplicates/