bootstrapContainer method

void bootstrapContainer()

Loads some base dependencies into the service container.

Implementation

void bootstrapContainer() {
  if (runtimeType != Angel) {
    container.registerSingleton(this);
  }

  container.registerSingleton<Angel>(this);
  container.registerSingleton<Routable>(this);
  container.registerSingleton<Router>(this);
}