p.location-badge.
exported from angular2/metadata
defined in angular2/src/core/metadata/di.ts (line 10)
:markdown
Annotations provide the additional information that Angular requires in order to run your
application. This module
contains ComponentMetadata
, DirectiveMetadata
, and ViewMetadata
annotations, as well as
the Host
annotation that is used by Angular to resolve dependencies.
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation CONST
pre.prettyprint
code.
@CONST()
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(attributeName: string)
:markdown
.l-sub-section
h3 attributeName
:markdown
.l-sub-section
h3 token
:markdown
.l-sub-section
h3 toString
pre.prettyprint
code.
toString()
:markdown