Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions public/docs/ts/latest/quickstart.jade
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ block install-packages

Every Angular application has at least one module: the _root module_, named `AppModule` here.

**Create #{_an} #{_appDir} subfolder** off the project root directory:

code-example.
mkdir #{_appDir}

:marked
Create the file `app/app.module.ts` with the following content:

+makeExample('app/app.module.1.ts')(format='.')
Expand Down Expand Up @@ -221,15 +227,10 @@ h1#root-component Step !{step++}: Create a component and add it to your applicat
Components are the basic building blocks of Angular applications. A component controls a portion
of the screen—a *view*—through its associated template

**Create #{_an} #{_appDir} subfolder** off the project root directory:

code-example.
mkdir #{_appDir}

a#app-component
p.
#[b Create the component file]
#[code #[+adjExPath('app/app.component.ts')]] (in this newly created directory) with the following content:
#[code #[+adjExPath('app/app.component.ts')]] with the following content:

+makeExample('app/app.component.ts')

Expand Down