I was just googleing for this, and after using the observable way, I thought of another approach:
<div style="display: none" data-bind="visible: true">
<ul data-bind="foreach: items">
<li data-bind="text: name"></li>
</ul>
</div>
You don’t need an observable, the visible will always evaluate to true once the data binding is done.