64
rated 0 times
[
71]
[
7]
/ answers: 1 / hits: 72950
/ 12 Years ago, fri, october 12, 2012, 12:00:00
I am currently using this piece of code to render a list:
<ul ng-cloak>
<div ng-repeat=n in list>
<li><a href={{ n[1] }}>{{ n[0] }}</a></li>
<li class=divider></i>
</div>
<li>Additional item</li>
</ul>
However, the <div>
element is causing some very minor rendering defects on some browsers.
I would like to know is there a way to do the ng-repeat without the div container, or some alternative method to achieve the same effect.
More From » css