title: How to run a function when Ember finished loading for the first time
body: <p>Hi i'm writing a simple ember app that I run within a node-webkit app, now I would like to run: </p>
  
  <p><code>require("nw.gui").Window.get().show();</code></p>
  
  <p>right after Ember finished loading and had rendered the index view, but just once, not if you've just navigated to <code>/</code>.</p>
  
  <p>I've tried this: </p>
  
  <pre><code>App.IndexRoute = Ember.Route.extend({
    setupController: function(controller) {
      require("nw.gui").Window.get().show();
    }
  });
  </code></pre>
  
  <p>But this executes on each navigation to <code>/</code></p>
  
  <p>Thanks!</p>