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

Commit 38fe94d

Browse files
committed
docs(qs-reboot): edits for the quickstart
1 parent 08b491d commit 38fe94d

File tree

7 files changed

+236
-453
lines changed

7 files changed

+236
-453
lines changed

public/docs/_examples/quickstart/ts/app/app.module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
import { NgModule } from '@angular/core';
33
import { BrowserModule } from '@angular/platform-browser';
44

5-
import { AppComponent } from './app.component';
6-
75
@NgModule({
8-
imports: [ BrowserModule ],
9-
declarations: [ AppComponent ],
10-
bootstrap: [ AppComponent ]
6+
imports: [ BrowserModule ]
117
})
128
export class AppModule { }
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// #docregion
2+
import { NgModule } from '@angular/core';
3+
import { BrowserModule } from '@angular/platform-browser';
4+
import { AppComponent} from './app.component'
5+
6+
@NgModule({
7+
imports: [ BrowserModule ],
8+
declarations: [ AppComponent ],
9+
bootstrap: [ AppComponent ]
10+
})
11+
12+
export class AppModule { }

public/docs/_examples/quickstart/ts/app/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
55
import { AppModule } from './app.module';
66
// #enddocregion import
77

8-
platformBrowserDynamic().bootstrapModule(AppModule);
8+
const platform = platformBrowserDynamic();
9+
platform.bootstrapModule(AppModule);

public/docs/ts/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
"quickstart": {
1717
"icon": "query-builder",
18-
"title": "5 Min Quickstart",
18+
"title": "Quickstart",
1919
"description": "Get up and running with Angular 2"
2020
},
2121

public/docs/ts/latest/index.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ div.card-row.docs-landing.layout-align-space-around-center.layout-row.flex
33
md-card.card
44
md-card-content.layout-align-space-between-center.layout-column.flex
55
div
6-
h2.text-headline.text-uppercase 5 Minute Quickstart
6+
h2.text-headline.text-uppercase Quickstart
77
p A short beginner guide explaining the basic concepts of Angular
88

99
footer

0 commit comments

Comments
 (0)