I am using Ionic to build an app. I have this code to load buttons based on data pulled from a remote site. When the view loads initially, I have a button element that uses ng-repeat to display each pdf link. While the app is pulling data it shows a blank button due to this. How can I hide this or remove it from the view? Or is there a way to have the button not render until the data is retrieved? Thanks
<div class="centerButtons">
<button class="benchmark" ng-repeat="pdf in pdfArray" ng-click="pdfOpen.link('https://docs.google.com/viewer?url={{ pdf.link }}')">
{{ pdf.title }}
<button>
</div>