5454 :marked
5555 In practice, a synonym for [Decoration](#decorator).
5656
57+ a#attribute-directive
58+ a#attribute-directives
5759:marked
58- ## Attribute directive
60+ ## Attribute directives
5961.l-sub-section
6062 :marked
6163 A category of [directive](#directive) that can listen to and modify the behavior of
6466
6567 A good example of an attribute directive is the `ngClass` directive for adding and removing CSS class names.
6668
69+ Learn about them in the [_Attribute Directives_](!{docsLatest}/guide/attribute-directives.html) guide.
70+
6771.l-main-section #B
6872
6973+ ifDocsFor('ts|js' )
@@ -141,6 +145,7 @@ a#aot
141145 This form is also known as **lower camel case**, to distinguish it from **upper camel case**, which is [PascalCase](#pascalcase).
142146 When you see "camelCase" in this documentation it always means *lower camel case*.
143147
148+ a#component
144149:marked
145150 ## Component
146151.l-sub-section
@@ -245,7 +250,7 @@ a#aot
245250 that "B" is a dependency of "A".
246251
247252 You can ask a "dependency injection system" to create "A"
248- for us and handle all the dependencies.
253+ and it will handle all of "A"s dependencies.
249254 If "A" needs "B" and "B" needs "C", the system resolves that chain of dependencies
250255 and returns a fully prepared instance of "A".
251256
@@ -276,18 +281,20 @@ a#aot
276281 Registering providers is a critical preparatory step.
277282
278283 Angular registers some of its own providers with every injector.
279- We can register our own providers.
284+ You can register your own providers.
280285
281286 Read more in the [Dependency Injection](!{docsLatest}/guide/dependency-injection.html) page.
287+
288+ a#directive
289+ a#directives
282290:marked
283291 ## Directive
284292.l-sub-section
285293 :marked
286294 An Angular class responsible for creating, reshaping, and interacting with HTML elements
287295 in the browser DOM. Directives are Angular's most fundamental feature.
288296
289- A Directive is almost always associated with an HTML element or attribute.
290- We often refer to such an element or attribute as the directive itself.
297+ A directive is almost always associated with an HTML element or attribute.
291298 When Angular finds a directive in an HTML template,
292299 it creates the matching directive class instance
293300 and gives the instance control over that portion of the browser DOM.
@@ -300,15 +307,15 @@ a#aot
300307 Directives fall into one of three categories:
301308
302309 1. [Components](#component) that combine application logic with an HTML template to
303- render application [views]. Components are usually represented as HTML elements.
310+ render application [views](#view) . Components are usually represented as HTML elements.
304311 They are the building blocks of an Angular application and the
305312 developer can expect to write a lot of them.
306313
307- 1. [Attribute directives](#attribute-directive ) that can listen to and modify the behavior of
314+ 1. [Attribute directives](#attribute-directives ) that can listen to and modify the behavior of
308315 other HTML elements, attributes, properties, and components. They are usually represented
309316 as HTML attributes, hence the name.
310317
311- 1. [Structural directives](#structural-directive ), a directive responsible for
318+ 1. [Structural directives](#structural-directives ), a directive responsible for
312319 shaping or reshaping HTML layout, typically by adding, removing, or manipulating
313320 elements and their children.
314321
@@ -630,21 +637,24 @@ a#snake-case
630637 Applications often require services such as a hero data service or a logging service.
631638
632639 A service is a class with a focused purpose.
633- We often create a service to implement features that are
640+ You often create a service to implement features that are
634641 independent from any specific view,
635642 provide shared data or logic across components, or encapsulate external interactions.
636643
637644 For more information, see the [Services](!{docsLatest}/tutorial/toh-pt4.html) page of the [Tour of Heroes](!{docsLatest}/tutorial/) tutorial.
638645
646+ a#structural-directive
647+ a#structural-directives
639648:marked
640- ## Structural directive
649+ ## Structural directives
641650.l-sub-section
642651 :marked
643652 A category of [directive](#directive) that can
644653 shape or reshape HTML layout, typically by adding, removing, or manipulating
645- elements and their children; for example, the `ngIf` "conditional element" directive and the `ngFor` "repeater" directive.
654+ elements and their children.
655+ Examples include the `*ngIf` _conditional_ directive and the `*ngFor` _repeater_ directive.
646656
647- Read more in the [Structural Directives ](!{docsLatest}/guide/structural-directives.html) page .
657+ Read more in the [_Structural Directives_ ](!{docsLatest}/guide/structural-directives.html) guide .
648658
649659.l-main-section #T
650660:marked
@@ -699,8 +709,8 @@ a#snake-case
699709 A version of JavaScript that supports most [ECMAScript 2015](#es2015)
700710 language features such as [decorators](#decorator).
701711
702- TypeScript is also noteable for its optional typing system, which gives
703- us compile-time type checking and strong tooling support (for example, "intellisense",
712+ TypeScript is also noteable for its optional typing system, which enables
713+ compile-time type checking and strong tooling support (for example, "intellisense",
704714 code completion, refactoring, and intelligent search). Many code editors
705715 and IDEs support TypeScript either natively or with plugins.
706716
0 commit comments