docs(structural-directives): add links to source (#3377)

Guide suggests reading *ngIf* and *ngFor* sources. They are linked to github now.
This commit is contained in:
Alireza Mirian 2017-04-12 08:01:02 +04:30 committed by Ward Bell
parent 1920823663
commit c3ef2374b4
1 changed files with 4 additions and 1 deletions

View File

@ -257,7 +257,10 @@ a#microsyntax
describes additional `NgFor` directive properties and context properties. describes additional `NgFor` directive properties and context properties.
These microsyntax mechanisms are available to you when you write your own structural directives. These microsyntax mechanisms are available to you when you write your own structural directives.
Studying the source code for `NgIf` and `NgFor` is a great way to learn more. Studying the
[source code for `NgIf`](https://github.com/angular/angular/blob/master/packages/common/src/directives/ng_if.ts "Source: NgIf")
and [`NgFor`](https://github.com/angular/angular/blob/master/packages/common/src/directives/ng_for_of.ts "Source: NgFor")
is a great way to learn more.
a#template-input-variable a#template-input-variable