title: setTimeout doesn't work if i navigate to another page
body: <p>I was trying to execute a javascript 10 seconds after a particular click event.Hence i used <code>setTimeout</code></p>
  
  <pre><code>setTimeout(function () {
      alert('hello');
  }, 10000);
  </code></pre>
  
  <p>It works if i'm on the same page after the click.But if i navigate to some other page it doesn't work.
  So is it right to assume that <code>setTimeout</code> works with respect to a particular page and not the whole application.</p>
  
  <p>Is there any way to do what i'm trying to achieve.</p>