title: What is the purpose of the Ember.Container
body: <p>Can anyone explain what the purpose of the Container module is in the latest Ember?</p>
  
  <p>An example of its usage, in the setup and in the start of this test:</p>
  
  <pre><code>module("Ember.View - handlebars integration", {
    setup: function() {
      Ember.lookup = lookup = { Ember: Ember };
      lookup.TemplateTests = TemplateTests = Ember.Namespace.create();
  
      container = new Ember.Container();
      container.optionsForType('template', { instantiate: false });
    }
  
  test("template view should call the function of the associated template", function() {
    container.register('template', 'testTemplate', Ember.Handlebars.compile("&lt;h1 id='twas-called'&gt;template was called&lt;/h1&gt;"));
  </code></pre>