
TodoMVC = Space.Application.extend('TodoMVC', {

  requiredModules: ['Space.flux'],

  stores: ['TodoMVC.TodosStore'],

  components: [
    'TodoMVC.Input',
    'TodoMVC.Footer',
    'TodoMVC.TodoList'
  ],

  controllers: [
    'TodoMVC.RouteController',
    'TodoMVC.LayoutController'
  ],

  singletons: ['TodoMVC.TodosTracker'],

  onInitialize() {
    this.injector.map('TodoMVC.Todos').asStaticValue();
  }

});


TodoMVC = Space.Application.extend('TodoMVC', {

  requiredModules: ['Space.flux'],

  stores: ['TodoMVC.TodosStore'],

  components: [
    'TodoMVC.Input',
    'TodoMVC.Footer',
    'TodoMVC.TodoList'
  ],

  controllers: [
    'TodoMVC.RouteController',
    'TodoMVC.LayoutController'
  ],

  singletons: ['TodoMVC.TodosTracker'],

  onInitialize() {
    this.injector.map('TodoMVC.Todos').asStaticValue();
    this.injector.map('BlazeLayout').to(BlazeLayout);
  }

});

Add blaze layout injection to client app instance