title: Meteor prevent template from rendering depending on a condition
body: <p>I have a situation in which the user is redirected to a template (say I ). 
  In template I, there is a condition which would determine if we should render that template or redirect to some other place.</p>
  
  <p>The way I am doing right now is to check for that condition in the <code>Template.I.onCreated()</code> and if that condition is true, then putting <code>window.location.href</code> to the new url.</p>
  
  <p>But this is sometimes causing the template I to appear briefly on screen before redirection.</p>
  
  <p>I need a way to be able to stop this from happening. I thought onCreated() fires before onRendered() so it should have prevented that. But still this does not seem to work.</p>