Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

ng-repeat doesn't work on components #52

Closed
yjbanov opened this issue Jul 22, 2013 · 0 comments
Closed

ng-repeat doesn't work on components #52

yjbanov opened this issue Jul 22, 2013 · 0 comments

Comments

@yjbanov
Copy link
Contributor

yjbanov commented Jul 22, 2013

This doesn't work:

<my-component ng-repeat="a in ctrl.aList" a="a"></my-component>

Workaround: wrap component into an outer element, e.g.:

<div ng-repeat="a in ctrl.aList">
  <my-component a="a"></my-component>
</div>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants