diff --git a/public/docs/_examples/displaying-data/app.ts b/public/docs/_examples/displaying-data/app.ts deleted file mode 100644 index e34a9804be..0000000000 --- a/public/docs/_examples/displaying-data/app.ts +++ /dev/null @@ -1,10 +0,0 @@ -// #docregion -import {Component, bootstrap} from 'angular2/angular2'; - -@Component({ - selector: 'my-app', - template: '

My First Angular 2 App

' -}) -class AppComponent { } - -bootstrap(AppComponent); diff --git a/public/docs/_examples/displaying-data/ts/src/app/app.1.ts b/public/docs/_examples/displaying-data/ts/src/app/app.1.ts index 08a10a9df5..a12c6f44e6 100644 --- a/public/docs/_examples/displaying-data/ts/src/app/app.1.ts +++ b/public/docs/_examples/displaying-data/ts/src/app/app.1.ts @@ -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 -*/ \ No newline at end of file diff --git a/public/docs/ts/latest/guide/displaying-data.jade b/public/docs/ts/latest/guide/displaying-data.jade index ecd7073040..08b686b365 100644 --- a/public/docs/ts/latest/guide/displaying-data.jade +++ b/public/docs/ts/latest/guide/displaying-data.jade @@ -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`.