docs(displaying-data): add table of contents

This commit is contained in:
Foxandxss 2016-03-16 13:51:48 +01:00 committed by Ward Bell
parent 55bec4a097
commit 64babe2a69
1 changed files with 11 additions and 2 deletions

View File

@ -14,9 +14,18 @@ include ../_util-fns
figure.image-display
img(src="/resources/images/devguide/displaying-data/final.png" alt="Final UI")
:marked
[Run the live example](/resources/live-examples/displaying-data/ts/plnkr.html)
# Table Of Contents
* [Showing component properties with interpolation](#interpolation)
* [Showing an array property with NgFor](#ngFor)
* [Conditional display with NgIf](#ngIf)
.l-sub-section
:marked
The [live example](/resources/live-examples/displaying-data/ts/plnkr.html)
demonstrates all of the syntax and code snippets described in this chapter.
<a id="interpolation"></a>
.l-main-section