I have an issue with collectionRepeat and parent and child directive.
I defined two directives, parentDirective and childDirective. childDirective requires parentDirective.
ChildDirective is inside a collectionRepeat, while parentDirective is outside.
During compile phase of childDirective it gives this error:
Error: [$compile:ctreq] Controller ‘parentDirective’, required by directive ‘childDirective’, can’t be found!
If I use these directives with ng-repeat everything is fine.
Check out this codepen: http://codepen.io/dusty73/pen/MwEyRP
Clicking on “Playlist ko” you’ll see the error, “Playlist ok” uses ng-repeat instead of collection-repeat.
It seems to be an ionic bug.
Thank you for your help