
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/view_container_ref.ts#L9-L61">angular2/src/core/compiler/view_container_ref.ts (line 9)</a>

:markdown
  
.l-main-section
  h2 Members
  .l-sub-section
    h3 constructor

    
    pre.prettyprint
      code.
        constructor(viewManager:AppViewManager, element: ElementRef)
    
    :markdown
      
      




  .l-sub-section
    h3 viewManager

    
    :markdown

      
      





  .l-sub-section
    h3 element

    
    :markdown

      
      





  .l-sub-section
    h3 clear

    
    pre.prettyprint
      code.
        clear()
    
    :markdown

      
      





  .l-sub-section
    h3 get

    
    pre.prettyprint
      code.
        get(index: number)
    
    :markdown

      
      





  .l-sub-section
    h3 length

    
    :markdown

      
      





  .l-sub-section
    h3 create

    
    pre.prettyprint
      code.
        create(protoViewRef?: ProtoViewRef, atIndex?: number, context?: ElementRef, injector?: Injector)
    
    :markdown

      
      





  .l-sub-section
    h3 insert

    
    pre.prettyprint
      code.
        insert(viewRef: ViewRef, atIndex?: number)
    
    :markdown

      
      





  .l-sub-section
    h3 indexOf

    
    pre.prettyprint
      code.
        indexOf(viewRef: ViewRef)
    
    :markdown

      
      





  .l-sub-section
    h3 remove

    
    pre.prettyprint
      code.
        remove(atIndex?: number)
    
    :markdown

      
      





  .l-sub-section
    h3 detach

    
    pre.prettyprint
      code.
        detach(atIndex?: number)
    
    :markdown

      The method can be used together with insert to implement a view move, i.e.
      moving the dom nodes while the directives in the view stay intact.
      
      




