From 8b50ed083c45e69f1a4d1f65c8e098899c92cbd6 Mon Sep 17 00:00:00 2001 From: Evan Carroll Date: Mon, 6 Nov 2017 11:59:17 -0600 Subject: [PATCH] docs(aio): fixed case-typo for code (#20196) --- aio/content/guide/structural-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/structural-directives.md b/aio/content/guide/structural-directives.md index 6867493134..e8892bb282 100644 --- a/aio/content/guide/structural-directives.md +++ b/aio/content/guide/structural-directives.md @@ -285,7 +285,7 @@ that you reference within the template. The input variables in this example are The parser translates `let hero`, `let i`, and `let odd` into variables named, `let-hero`, `let-i`, and `let-odd`. -* The microsyntax parser takes `of` and `trackby`, title-cases them (`of` -> `Of`, `trackBy` -> `TrackBy`), +* The microsyntax parser takes `of` and `trackBy`, title-cases them (`of` -> `Of`, `trackBy` -> `TrackBy`), and prefixes them with the directive's attribute name (`ngFor`), yielding the names `ngForOf` and `ngForTrackBy`. Those are the names of two `NgFor` _input properties_ . That's how the directive learns that the list is `heroes` and the track-by function is `trackById`.