Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 62d16a8

Browse files
authored
docs(architecture): remove reference to directives in component metadata (#2481)
1 parent 556e406 commit 62d16a8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

public/docs/ts/latest/guide/architecture.jade

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ block ts-decorator
252252
Here are a few of the possible `@Component` configuration options:
253253

254254
:marked
255-
- `moduleId: module.id`: sets the base for module-relative loading of the `templateUrl`.
255+
- `moduleId`: sets the source of the base address (`module.id`) for module-relative URLs such as the `templateUrl`.
256256

257257
- `selector`: CSS selector that tells Angular to create and insert an instance of this component
258258
where it finds a `<hero-list>` tag in *parent* HTML.
@@ -261,11 +261,6 @@ block ts-decorator
261261

262262
- `templateUrl`: module-relative address of this component's HTML template, shown [above](#templates).
263263

264-
- `directives`: !{_array} of the components or directives that *this* template requires.
265-
In the last line of `hero-list.component.html`, Angular inserts a `HeroDetailComponent`
266-
in the space indicated by `<hero-detail>` tags.
267-
Angular does so only if `HeroDetailComponent` is in this `directives` !{_array}.
268-
269264
- `providers`: !{_array} of **dependency injection providers** for services that the component requires.
270265
This is one way to tell Angular that the component's constructor requires a `HeroService`
271266
so it can get the list of heroes to display.

0 commit comments

Comments
 (0)