Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-include does not work if inside ng-repeat in v1.2.0rc1 #3673

Closed
Elisha4700 opened this issue Aug 20, 2013 · 2 comments
Closed

ng-include does not work if inside ng-repeat in v1.2.0rc1 #3673

Elisha4700 opened this issue Aug 20, 2013 · 2 comments

Comments

@Elisha4700
Copy link

if ng-include is inside the ng-repeat directive, the include wont work:
none of the following worked for me:

<ul>
  <li ng-repeat="item in items" ng-include="'partial.html'"></li>
</ul>

<ul>
  <li ng-repeat="item in items" ng-include src="'partial.html'"></li>
</ul>

<ul>
  <li ng-repeat="item in items">
    <div ng-include="'partial.html'"></div>
  </li>
</ul>

<ul>
  <li ng-repeat="item in items">
    <div ng-include src="'partial.html'"></div>
  </li>
</ul>
@kevin-smets
Copy link

Dupe of #3584. Transclusion is seriously broken in 1.2 rc1.

@IgorMinar
Copy link
Contributor

closing as dupe of #3584

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants