Will collection-repeat work with an object?


#1

Hey guys.

Just a quick question…

Will the ng-collection be okay using an object which is an array as opposed to a “raw” array? I am using an ng-collection and referencing a variable on my scope (which contains an array). The ng-collection displays fine, but an error is thrown in my console saying it “expects an array but got an object”.

Will this have any performance impacts? Any reason to pass the “raw” array or can I leave the object as is?

Thanks :smile:


#2

Any body have a comment on this one? Any of the Ionic team? I’m curious about this :smile:

Thanks!