diff --git a/public/docs/_examples/toh-5/ts/app/app.component.ts b/public/docs/_examples/toh-5/ts/app/app.component.ts index 12fe3bfd52..e0cb229f57 100644 --- a/public/docs/_examples/toh-5/ts/app/app.component.ts +++ b/public/docs/_examples/toh-5/ts/app/app.component.ts @@ -2,6 +2,7 @@ import { Component } from '@angular/core'; @Component({ + moduleId: module.id, selector: 'my-app', // #docregion template template: ` @@ -14,7 +15,7 @@ import { Component } from '@angular/core'; `, // #enddocregion template // #docregion styleUrls - styleUrls: ['app/app.component.css'], + styleUrls: ['app.component.css'], // #enddocregion styleUrls }) export class AppComponent { diff --git a/public/docs/_examples/toh-6/ts/app/app.component.ts b/public/docs/_examples/toh-6/ts/app/app.component.ts index e55e09f661..01292eb4cd 100644 --- a/public/docs/_examples/toh-6/ts/app/app.component.ts +++ b/public/docs/_examples/toh-6/ts/app/app.component.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ + moduleId: module.id, selector: 'my-app', template: ` @@ -13,7 +14,7 @@ import { Component } from '@angular/core'; `, - styleUrls: ['app/app.component.css'] + styleUrls: ['app.component.css'] }) export class AppComponent { title = 'Tour of Heroes';