
p.location-badge.
  exported from <a href='../core'>angular2/core</a>
  defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/core/compiler/template_ref.ts#L3-L32">angular2/src/core/compiler/template_ref.ts (line 3)</a>

:markdown
  Reference to a template within a component.
  
  Represents an opaque reference to the underlying template that can
  be instantiated using the <a href='ViewContainerRef-interface.html'><code>ViewContainerRef</code></a>.
  
  
.l-main-section
  h2 Members
  .l-sub-section
    h3#constructor constructor

    
    pre.prettyprint
      code.
        constructor(elementRef: ElementRef)
    
    :markdown




  .l-sub-section
    h3#elementRef elementRef

    
    :markdown
      The location of the template
      
      





  .l-sub-section
    h3#protoViewRef protoViewRef

    
    :markdown





  .l-sub-section
    h3#hasLocal hasLocal

    
    pre.prettyprint
      code.
        hasLocal(name: string)
    
    :markdown
      Whether this template has a local variable with the given name
      
      




