Skip to content

Commit a46cba0

Browse files
authored
docs(quickstart): app says "Hello Angular!" instead of "My first..." (angular#2760)
1 parent 8fafa8a commit a46cba0

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

public/docs/_examples/quickstart/dart/lib/app_component.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:angular2/core.dart';
55
// #docregion metadata
66
@Component(
77
selector: 'my-app',
8-
template: '<h1>My First Angular App</h1>')
8+
template: '<h1>Hello Angular!</h1>')
99
// #enddocregion metadata
1010
// #docregion class
1111
class AppComponent {}

public/docs/_examples/quickstart/e2e-spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
'use strict'; // necessary for es6 output in node
1+
'use strict'; // necessary for es6 output in node
22

33
import { browser, element, by } from 'protractor';
44

55
describe('QuickStart E2E Tests', function () {
66

7-
let expectedMsg = 'My First Angular App';
7+
let expectedMsg = 'Hello Angular!';
88

99
beforeEach(function () {
1010
browser.get('');

public/docs/_examples/quickstart/js/app/app.component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ng.core.Component({
1111
// #enddocregion ng-namespace-funcs
1212
selector: 'my-app',
13-
template: '<h1>My First Angular App</h1>'
13+
template: '<h1>Hello Angular!</h1>'
1414
// #docregion ng-namespace-funcs
1515
})
1616
// #enddocregion component

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Component } from '@angular/core';
66
// #docregion metadata
77
@Component({
88
selector: 'my-app',
9-
template: '<h1>My First Angular App</h1>'
9+
template: '<h1>Hello Angular!</h1>'
1010
})
1111
// #enddocregion metadata
1212
// #docregion class

public/docs/js/latest/quickstart.jade

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include _util-fns
2020
and displays a simple message:
2121

2222
figure.image-display
23-
img(src='/resources/images/devguide/quickstart/my-first-app.png' alt="Output of quickstart app")
23+
img(src='/resources/images/devguide/quickstart/hello-angular.png' alt="Output of quickstart app")
2424
:marked
2525
Here is the file structure:
2626
.filetree
@@ -208,7 +208,7 @@ code-example(format="").
208208
:marked
209209
The `template` property holds the component's companion template.
210210
A template is a form of HTML that tells Angular how to render a view.
211-
Our template is a single line of HTML announcing "My First Angular App".
211+
Our template is a single line of HTML announcing "Hello Angular!".
212212

213213
Now we need something to tell Angular to load this component.
214214

@@ -299,7 +299,7 @@ code-example(format="").
299299
In a few moments, a browser tab should open and display
300300

301301
figure.image-display
302-
img(src='/resources/images/devguide/quickstart/my-first-app.png' alt="Output of quickstart app")
302+
img(src='/resources/images/devguide/quickstart/hello-angular.png' alt="Output of quickstart app")
303303

304304
:marked
305305
Congratulations! We are in business.
@@ -311,7 +311,7 @@ figure.image-display
311311
:marked
312312
### Make some changes
313313

314-
Try changing the message to "My SECOND Angular app".
314+
Try changing the message to "Hello Angular 2!".
315315

316316
`lite-server` is watching, so it should detect the change,
317317
refresh the browser, and display the revised message.

public/docs/ts/_cache/quickstart.jade

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ block includes
3333
and displays the simple message:
3434

3535
figure.image-display
36-
img(src='/resources/images/devguide/quickstart/my-first-app.png' alt="Output of QuickStart app")
36+
img(src='/resources/images/devguide/quickstart/hello-angular.png' alt="Output of QuickStart app")
3737

3838
:marked
3939
# Build this app!
@@ -290,7 +290,7 @@ p.
290290
The **template** specifies the component's companion template,
291291
written in an enhanced form of HTML that tells Angular how to render this component's view.
292292

293-
>Our template is a single line of HTML announcing "*My First Angular App*".
293+
>Our template is a single line of HTML announcing "Hello Angular!".
294294

295295
>A more advanced template could contain data bindings to component properties
296296
and might identify other application components which have their own templates.
@@ -545,7 +545,7 @@ block run-app
545545
In a few moments, a browser tab should open and display
546546

547547
figure.image-display
548-
img(src='/resources/images/devguide/quickstart/my-first-app.png' alt="Output of QuickStart app")
548+
img(src='/resources/images/devguide/quickstart/hello-angular.png' alt="Output of QuickStart app")
549549

550550
:marked
551551
**Great job!**
@@ -556,7 +556,7 @@ block build-app
556556
:marked
557557
## Make some changes
558558

559-
Try changing the message to "My SECOND Angular app".
559+
Try changing the message to "Hello Angular 2!".
560560
block server-watching
561561
:marked
562562
The TypeScript compiler and `lite-server` are watching.

public/docs/ts/latest/cli-quickstart.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ h2#first-component Step 4: Edit our first Angular component
108108
+makeExample('cli-quickstart/ts/src/app/cli-quickstart.component.css', null, 'src/app/cli-quickstart.component.css')(format=".")
109109

110110
figure.image-display
111-
img(src='/resources/images/devguide/cli-quickstart/my-first-app.png' alt="Output of QuickStart app")
111+
img(src='/resources/images/devguide/cli-quickstart/hello-angular.png' alt="Output of QuickStart app")
112112

113113
:marked
114114
Looking good!
@@ -199,7 +199,7 @@ h3#component-decorator @Component decorator
199199
+makeExample('src/app/cli-quickstart.component.html', null, 'src/app/cli-quickstart.component.html')(format='.')
200200
:marked
201201
The `{{title}}` is an _interpolation_ binding that causes Angular to display the component's
202-
`title` property. After out edit, Angular displays _My First Angular 2 App_.
202+
`title` property. After out edit, Angular displays "Hello Angular!".
203203
We'll learn more about data binding as we read through the documentation.
204204

205205
The **styleUrls** array specifies the location(s) of the component's private CSS style file(s).

public/docs/ts/latest/quickstart.jade

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ aside.is-right
3030
displays the simple message:
3131

3232
figure.image-display
33-
img(src='/resources/images/devguide/quickstart/my-first-app.png' alt="Output of QuickStart app")
33+
img(src='/resources/images/devguide/quickstart/hello-angular.png' alt="Output of QuickStart app")
3434

3535
:marked
3636
**Try it out**. Here's a link to a <live-example></live-example>.
@@ -323,7 +323,7 @@ aside.is-right
323323
In a few moments, a browser tab should open and display the following:
324324

325325
figure.image-display
326-
img(src='/resources/images/devguide/quickstart/my-first-app.png' alt="Output of QuickStart app")
326+
img(src='/resources/images/devguide/quickstart/hello-angular.png' alt="Output of QuickStart app")
327327

328328

329329
block build-app
@@ -332,7 +332,7 @@ block build-app
332332
.l-main-section#make-changes
333333
h1 Step !{step++}: Make some live changes
334334
:marked
335-
Try changing the message in `app/app.component.ts` to "My SECOND Angular App".
335+
Try changing the message in `app/app.component.ts` to "Hello Angular 2!".
336336
block server-watching
337337
:marked
338338
The TypeScript compiler and `lite-server` will detect your change, recompile the TypeScript into JavaScript,
Loading

0 commit comments

Comments
 (0)