Answer the question
In order to leave comments, you need to log in
How to pass data to ng-include?
I don't know how to put it right.
I have a recursive ng-include call in a part.html file
<span> Part: </span>
<span> {{part.name}}</span>
<div class='node' ng-repeat='part in part.parts' ng-include="'parts.html'"></div>
<div ng-include="'parts.html'"></div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question