
p.location-badge.
  exported from <a href='../core'>angular2/core</a>
  defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/core/compiler/dynamic_component_loader.ts#L16-L81">angular2/src/core/compiler/dynamic_component_loader.ts (line 16)</a>

:markdown
  Service for dynamically loading a Component into an arbitrary position in the internal Angular
  application tree.
  
.l-main-section
  h2 Members
  .l-sub-section
    h3 constructor

    
    pre.prettyprint
      code.
        constructor(_compiler: Compiler, _viewManager: AppViewManager)
    
    :markdown
      
      




  .l-sub-section
    h3 loadAsRoot

    
    pre.prettyprint
      code.
        loadAsRoot(typeOrBinding: Type | Binding, overrideSelector?: string, injector?: Injector)
    
    :markdown

      Loads a root component that is placed at the first element that matches the
      component's selector.
      The loaded component receives injection normally as a hosted view.
      
      





  .l-sub-section
    h3 loadIntoLocation

    
    pre.prettyprint
      code.
        loadIntoLocation(typeOrBinding: Type | Binding, hostLocation: ElementRef, anchorName: string, injector?: Injector)
    
    :markdown

      Loads a component into the component view of the provided ElementRef
      next to the element with the given name
      The loaded component receives
      injection normally as a hosted view.
      
      





  .l-sub-section
    h3 loadNextToLocation

    
    pre.prettyprint
      code.
        loadNextToLocation(typeOrBinding: Type | Binding, location: ElementRef, injector?: Injector)
    
    :markdown

      Loads a component next to the provided ElementRef. The loaded component receives
      injection normally as a hosted view.
      
      




