Ember Latest

The latest build of Ember.

HTML

<script src="http://builds.emberjs.com/handlebars-1.0.0.js"></script>
<script src="http://builds.emberjs.com/ember-latest.js"></script>
<script type="text/x-handlebars" data-template-name="application">
    <h1>ember-latest jsfiddle</h1>
    {{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="index">
  {{fooz}}
</script>

CSS

h1 { font-size: 1.6em; padding-bottom: 10px; }
h2 { font-size: 1.4em; }
ul { padding: 15px; font-size: 1.4em; color: green; }

JavaScript

Ember.Application.initializer({
  name: "registerDependancies",
  initialize: function( container, application ) {
      application.register('route:basic', App.AuthRoute, { singleton: false });
  }
});

App = Ember.Application.create({});

App.AuthRoute = Ember.Route.extend({
    init: function () { 
        this._super.apply(this, arguments) 
    },
    
    setupController: function(controller, model) {
        this._super.apply(this, arguments);
        
        controller.set('fooz', 'Notice how index route took on App.AuthRoute');
    }
});