Hi, I’m currently building an Ionic app using firebase and angular fire. I’m trying to use collection-repeat instead of ng-repat but am struggling. I’m trying to replicate the following
Previously I have this using ng-repea (which works fine)t:
<ion-item ng-repeat="(id,delegate) in delegates" type="item-text-wrap" href="#/tab/delegate/{{id}}" class="item item-avatar">
This is what I have using collection-repeat (which isn’t giving me the id and therefore isn’t working):
<ion-item collection-repeat="(id,delegate) in delegates" href="#/tab/delegate/{{id}}"
collection-item-width="'100%'"
collection-item-height="80">
I’m still new to Ionic and Angular but would really love it if someone could tell me where I’m going wrong.
Thanks in advance