Merge branch 'master' into code-cleanup
This commit is contained in:
commit
accefeb666
@ -1,23 +1,26 @@
|
|||||||
{
|
{
|
||||||
"_listtype": "ordered",
|
"_listtype": "ordered",
|
||||||
|
|
||||||
"setup": {
|
|
||||||
"title": "Getting Started"
|
|
||||||
},
|
|
||||||
|
|
||||||
"index": {
|
"index": {
|
||||||
"title": "Step By Step Guide"
|
"title": "Step By Step Guide"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"setup": {
|
||||||
|
"title": "Getting Started"
|
||||||
|
},
|
||||||
|
|
||||||
"displaying-data": {
|
"displaying-data": {
|
||||||
"title": "Displaying Data",
|
"title": "Displaying Data",
|
||||||
"intro": "Displaying data is job number one for any good application. In Angular, you bind data to elements in HTML templates, and Angular automatically updates the UI as data changes."
|
"intro": "Displaying data is job number one for any good application. In Angular, you bind data to elements in HTML templates and Angular automatically updates the UI as data changes."
|
||||||
},
|
},
|
||||||
|
|
||||||
"user-input": {
|
"user-input": {
|
||||||
"title": "User Input"
|
"title": "User Input",
|
||||||
|
"intro": "DOM events drive user input in Angular. You can use the native events like click, mouseover, and keyup. Angular uses a special syntax to register events to DOM elements. This section covers all the ins and outs of using the event syntax."
|
||||||
},
|
},
|
||||||
|
|
||||||
"making-components": {
|
"making-components": {
|
||||||
"title": "Making Components"
|
"title": "Making Components",
|
||||||
|
"intro": "Angular applications are a tree of nested components. You always begin with a top-level component. You add child components by including them in the parent's template."
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,7 +5,7 @@ html(lang="en" ng-app="angularIOApp")
|
|||||||
|
|
||||||
body(class="l-offset-nav l-offset-side-nav" ng-controller="AppCtrl")
|
body(class="l-offset-nav l-offset-side-nav" ng-controller="AppCtrl")
|
||||||
!= partial("../../../../_includes/_main-nav")
|
!= partial("../../../../_includes/_main-nav")
|
||||||
!= partial("../../../../_includes/_docs-nav")
|
!= partial("../../../_includes/sidenav/_primary")
|
||||||
!= partial("../../../../_includes/_hero")
|
!= partial("../../../../_includes/_hero")
|
||||||
!= partial("../../../../_includes/_banner")
|
!= partial("../../../../_includes/_banner")
|
||||||
|
|
||||||
|
@ -27,6 +27,13 @@
|
|||||||
This repository provides a faster start than building from <code>npm</code>.
|
This repository provides a faster start than building from <code>npm</code>.
|
||||||
This repository includes the Angular distribution and type definitions for TypeScript.
|
This repository includes the Angular distribution and type definitions for TypeScript.
|
||||||
|
|
||||||
|
p.
|
||||||
|
Create two files, <code>index.html</code> and
|
||||||
|
<code>app.ts</code>, both at the root of the project:
|
||||||
|
|
||||||
|
pre.prettyprint
|
||||||
|
$ touch app.ts index.html
|
||||||
|
|
||||||
// STEP 2 - Start the TypeScript compiler ##########################
|
// STEP 2 - Start the TypeScript compiler ##########################
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2#start-tsc 2. Run the TypeScript compiler
|
h2#start-tsc 2. Run the TypeScript compiler
|
||||||
@ -49,14 +56,6 @@
|
|||||||
.l-main-section
|
.l-main-section
|
||||||
h2#section-transpile 3. Import Angular
|
h2#section-transpile 3. Import Angular
|
||||||
|
|
||||||
p.
|
|
||||||
Create two files, <code>index.html</code> and
|
|
||||||
<code>app.ts</code>, both at the root of the project:
|
|
||||||
|
|
||||||
pre.prettyprint
|
|
||||||
$ touch index.html
|
|
||||||
$ touch app.ts
|
|
||||||
|
|
||||||
p Inside of <code>app.ts</code>, import the type definitions from Angular:
|
p Inside of <code>app.ts</code>, import the type definitions from Angular:
|
||||||
pre.prettyprint
|
pre.prettyprint
|
||||||
code /// <reference path="typings/angular2/angular2.d.ts" />
|
code /// <reference path="typings/angular2/angular2.d.ts" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user