I have a angularJs view page, where many Web Services calls are being made to populate the page. I show the angular-spinner in one div and hide the content until all my data are fetched from a web service. However I noticed the spinner starts fine but it freezes (stop spinning) before the hidden div is rendered to a view. How do I keep the spinner spinning until the div gets rendered?
$scope.myData = 'a huge list of records from a slow WebService';
<div class="container">
<div ng-show="!myData" spinner>Loading....
<span us-spinner="{radius:30, width:8, length: 16}"></span>
</div>
<div ng-hide="!myData" class="details">
<div>content 1<div>
<div>content 2<div>
....
<div>content n</div>
</div>
</div>
</div>