This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +236
-453
lines changed
_examples/quickstart/ts/app
resources/images/devguide/quickstart Expand file tree Collapse file tree 7 files changed +236
-453
lines changed Original file line number Diff line number Diff line change 2
2
import { NgModule } from '@angular/core' ;
3
3
import { BrowserModule } from '@angular/platform-browser' ;
4
4
5
- import { AppComponent } from './app.component' ;
6
-
7
5
@NgModule ( {
8
- imports : [ BrowserModule ] ,
9
- declarations : [ AppComponent ] ,
10
- bootstrap : [ AppComponent ]
6
+ imports : [ BrowserModule ]
11
7
} )
12
8
export class AppModule { }
Original file line number Diff line number Diff line change
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 { }
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
5
5
import { AppModule } from './app.module' ;
6
6
// #enddocregion import
7
7
8
- platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) ;
8
+ const platform = platformBrowserDynamic ( ) ;
9
+ platform . bootstrapModule ( AppModule ) ;
Original file line number Diff line number Diff line change 15
15
16
16
"quickstart" : {
17
17
"icon" : " query-builder" ,
18
- "title" : " 5 Min Quickstart" ,
18
+ "title" : " Quickstart" ,
19
19
"description" : " Get up and running with Angular 2"
20
20
},
21
21
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ div.card-row.docs-landing.layout-align-space-around-center.layout-row.flex
3
3
md-card.card
4
4
md-card-content.layout-align-space-between-center.layout-column.flex
5
5
div
6
- h2.text-headline.text-uppercase 5 Minute Quickstart
6
+ h2.text-headline.text-uppercase Quickstart
7
7
p A short beginner guide explaining the basic concepts of Angular
8
8
9
9
footer
You can’t perform that action at this time.
0 commit comments