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

Commit c3ef237

Browse files
alirezamirianwardbell
authored andcommitted
docs(structural-directives): add links to source (#3377)
Guide suggests reading *ngIf* and *ngFor* sources. They are linked to github now.
1 parent 1920823 commit c3ef237

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

public/docs/ts/latest/guide/structural-directives.jade

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ a#microsyntax
257257
describes additional `NgFor` directive properties and context properties.
258258

259259
These microsyntax mechanisms are available to you when you write your own structural directives.
260-
Studying the source code for `NgIf` and `NgFor` is a great way to learn more.
260+
Studying the
261+
[source code for `NgIf`](https://github.com/angular/angular/blob/master/packages/common/src/directives/ng_if.ts "Source: NgIf")
262+
and [`NgFor`](https://github.com/angular/angular/blob/master/packages/common/src/directives/ng_for_of.ts "Source: NgFor")
263+
is a great way to learn more.
261264

262265

263266
a#template-input-variable

0 commit comments

Comments
 (0)