2016-05-06 10:42:01 -04:00
|
|
|
extends ../../../ts/latest/guide/attribute-directives.jade
|
2016-01-21 12:49:13 -05:00
|
|
|
|
2016-05-06 10:42:01 -04:00
|
|
|
block includes
|
|
|
|
include ../_util-fns
|
2016-01-21 12:49:13 -05:00
|
|
|
|
2016-05-06 10:42:01 -04:00
|
|
|
block highlight-directive-1
|
|
|
|
:marked
|
|
|
|
We begin by importing the Angular `core`.
|
|
|
|
Then we define the directive metadata by means of the `@Directive` annotation.
|