Why using consecutive angular ng-include does not work?
for example:
<div data-ng-include="'app/partials/partial1.html'" />
<div data-ng-include="'app/partials/partial2.html'" />
only show the content of partial1.html
but if I use:
<div>
<div data-ng-include="'app/partials/partial1.html'" />
</div>
<div>
<div data-ng-include="'app/partials/partial2.html'" />
</div>
Works fine, displays the content of both pages.
Thanks.