(docs) Displaying Data: remove unnecessary region split in app.1.ts

This commit is contained in:
Ward Bell 2015-10-30 21:09:57 -07:00 committed by Naomi Black
parent f26c8a13a9
commit 4a00fbe21a
3 changed files with 2 additions and 18 deletions

View File

@ -1,10 +0,0 @@
// #docregion
import {Component, bootstrap} from 'angular2/angular2';
@Component({
selector: 'my-app',
template: '<h1>My First Angular 2 App</h1>'
})
class AppComponent { }
bootstrap(AppComponent);

View File

@ -1,5 +1,4 @@
// #docplaster
// #docregion start
// #docregion
import {Component, bootstrap} from 'angular2/angular2';
@Component({
@ -16,9 +15,4 @@ export class AppComponent {
myHero = 'Windstorm';
}
// #enddocregion start
/*
// #docregion start
bootstrap(AppComponent);
//#enddocregion start
*/

View File

@ -30,7 +30,7 @@ figure.image-display
Then modify the `app.ts` file by changing the template and the body of the component.
When we're done, it should look like this:
+makeExample('displaying-data/ts/src/app/app.1.ts', 'start')
+makeExample('displaying-data/ts/src/app/app.1.ts')
:markdown
We added two properties to the formerly empty component: `title` and `myHero`.