From b300d7b116dca2a24855f9d2e3538a5e4f557cef Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Sun, 13 Mar 2016 20:50:50 +0100 Subject: [PATCH] docs: add quickstart repository where needed --- public/docs/ts/latest/guide/attribute-directives.jade | 1 + public/docs/ts/latest/guide/displaying-data.jade | 1 + public/docs/ts/latest/guide/forms.jade | 1 + public/docs/ts/latest/tutorial/toh-pt1.jade | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/attribute-directives.jade b/public/docs/ts/latest/guide/attribute-directives.jade index 46171c7447..b8531aba82 100644 --- a/public/docs/ts/latest/guide/attribute-directives.jade +++ b/public/docs/ts/latest/guide/attribute-directives.jade @@ -57,6 +57,7 @@ include ../_util-fns :marked ### Our first draft Create a new project folder (`attribute-directives`) and follow the steps in the [QuickStart](../quickstart.html). + As an alternative, you can clone the QuickStart from this [repository](https://github.com/IdeaBlade/angular2-quickstart). Add a new file to the `app` folder called `highlight.directive.ts` and add the following code: +makeExample('attribute-directives/ts/app/highlight.directive.1.ts', null, 'app/highlight.directive.ts') diff --git a/public/docs/ts/latest/guide/displaying-data.jade b/public/docs/ts/latest/guide/displaying-data.jade index 640fd9aa5f..c140e526c9 100644 --- a/public/docs/ts/latest/guide/displaying-data.jade +++ b/public/docs/ts/latest/guide/displaying-data.jade @@ -29,6 +29,7 @@ figure.image-display Let's build a small illustrative example together. Create a new project folder (`displaying-data`) and follow the steps in the [QuickStart](../quickstart.html). + As an alternative, you can clone the QuickStart from this [repository](https://github.com/IdeaBlade/angular2-quickstart). Then modify the `app.component.ts` file by changing the template and the body of the component. When we're done, it should look like this: diff --git a/public/docs/ts/latest/guide/forms.jade b/public/docs/ts/latest/guide/forms.jade index 769fa52570..e673c55f78 100644 --- a/public/docs/ts/latest/guide/forms.jade +++ b/public/docs/ts/latest/guide/forms.jade @@ -85,6 +85,7 @@ figure.image-display :marked ## Setup Create a new project folder (`angular2-forms`) and follow the steps in the [QuickStart](../quickstart.html). + As an alternative, you can clone the QuickStart from this [repository](https://github.com/IdeaBlade/angular2-quickstart). ## Create the Hero Model Class diff --git a/public/docs/ts/latest/tutorial/toh-pt1.jade b/public/docs/ts/latest/tutorial/toh-pt1.jade index 570f8f0e0a..d62ab19c00 100644 --- a/public/docs/ts/latest/tutorial/toh-pt1.jade +++ b/public/docs/ts/latest/tutorial/toh-pt1.jade @@ -11,7 +11,8 @@ include ../_util-fns and the core files for our Tour of Heroes. Copy the "QuickStart" code to a new folder and rename the folder `angular2-tour-of-heroes`. - We should have the following structure: + + You can also "QuickStart" from this [repository](https://github.com/IdeaBlade/angular2-quickstart). We should have the following structure: .filetree .file angular2-tour-of-heroes