Collection-repeat support "(key, value) in expression"

Does collection-repeat directive support (key, value) in expression form?


yeah i will like the same

Hi Francoaa,
Did you got an answer for this?

ng-repeat has this stuff:

<div ng-repeat="(key, value) in myObj"> ... </div>

It would be nice to have this in collection-repeat too.

No, you can’t use object in collection-repeat.
From Ionic docs:
“The data given to collection-repeat must be an array.”