I have the following template code
{{#each
Apparently there are various ways to handle your situation. You could easily use template subscriptions.
Template.myView.onCreated(function() {
var self = this;
self.autorun(function(){
self.mySub = self.subscribe('mySubscription');
});
if(self.mySub.ready()) {
// my sweet fancy code...
}
});
{{#if Template.subscriptionsReady}}
{{#each items}}
- {{item}}
{{/each}}
{{else}}
Loading...
{{/if}}