
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/metadata.ts#L77-L97">angular2/src/core/metadata.ts (line 77)</a>

:markdown
  Interface for the <a href='ViewMetadata-class.html'><code>ViewMetadata</code></a> decorator function.
  
  See <a href='ViewFactory-interface.html'><code>ViewFactory</code></a>.
  
  
.l-main-section
  h2 Members
  .l-sub-section
    h3#View View

    
    pre.prettyprint
      code.
        View(obj: {
            templateUrl?: string,
            template?: string,
            directives?: Array&lt;Type | any | any[]&gt;,
            pipes?: Array&lt;Type | any | any[]&gt;,
            renderer?: string,
            styles?: string[],
            styleUrls?: string[],
          })
    
    :markdown
      Chain <a href='ViewMetadata-class.html'><code>ViewMetadata</code></a> annotation.
      
      




