docs(quickstart): copy edits (#2889)
This commit is contained in:
parent
9ba0f34826
commit
d89a5ab9be
@ -3,7 +3,7 @@ block includes
|
||||
- var _on_Plunkr = 'on Plunkr';
|
||||
|
||||
:marked
|
||||
Angular applications are made of _components_.
|
||||
Angular applications are made up of _components_.
|
||||
A _component_ is the combination of an HTML template and a component class that controls a portion of the screen. Here is an example of a component that displays a simple string:
|
||||
|
||||
+makeExample('app/app.component.ts')(format='.')
|
||||
@ -20,7 +20,7 @@ block includes
|
||||
+makeExample('index.html','my-app','index.html (inside <body>)')(format='.')
|
||||
:marked
|
||||
The `template` property defines a message inside an `<h1>` header.
|
||||
The message starts with "Hello" and ends with `{{name}}`
|
||||
The message starts with "Hello" and ends with `{{name}}`,
|
||||
which is an Angular [interpolation binding](guide/displaying-data.html) expression.
|
||||
At runtime, Angular replaces `{{name}}` with the value of the component's `name` property.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user