Collection-repeat and ui-sref - problem?

Hi,

Anyone notice that collection-repeat don’t play nicely with ui-sref. Using collection-repeat and a ui-sref linkdoesn’t seem to pass $stateParams to the controller.

Tried same link with ng-repeat and it worked like a charm.

       <div ng-repeat="item in results " ng-style="{'background-color': item.accentcolor}" ui-sref="modal.view({ id : '{{item.id}}' })">{{item.id}}</div>

Does not work:

 <div style="left: 0; right: 0;"
     collection-repeat="item in results"
     collection-item-width="320"
     collection-item-height="360" 
     ng-style="{'background-color': item.accentcolor}"
     ui-sref="modal.view({ id : '{{item.id}}' })"
 >

In both cases the ‘id’ is visible in the HTML before clicking.

Tried with - ui-sref="modal.view({ id : item.id })"
It worked for me.

Follows the complete code.

did you solved it?

greets Bernhard

Same issue here, any infos?