From 787ca1600d7772e449f0e66c38d3cf5949cf7bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20Rodri=CC=81guez?= Date: Wed, 10 Aug 2016 01:22:23 +0200 Subject: [PATCH] docs(ngmodule): remove module.id closes #2064 --- .../_examples/ngmodule/ts/app/contact/contact.component.3.ts | 5 ++--- .../_examples/ngmodule/ts/app/contact/contact.component.ts | 5 ++--- .../docs/_examples/ngmodule/ts/app/shared/title.component.ts | 3 +-- public/docs/_examples/ngmodule/ts/app/title.component.ts | 3 +-- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/public/docs/_examples/ngmodule/ts/app/contact/contact.component.3.ts b/public/docs/_examples/ngmodule/ts/app/contact/contact.component.3.ts index d6104f1237..019e477e63 100644 --- a/public/docs/_examples/ngmodule/ts/app/contact/contact.component.3.ts +++ b/public/docs/_examples/ngmodule/ts/app/contact/contact.component.3.ts @@ -5,10 +5,9 @@ import { Contact, ContactService } from './contact.service'; import { UserService } from '../user.service'; @Component({ - moduleId: module.id, selector: 'app-contact', - templateUrl: 'contact.component.html', - styleUrls: ['contact.component.css'] + templateUrl: 'app/contact/contact.component.html', + styleUrls: ['app/contact/contact.component.css'] }) export class ContactComponent implements OnInit { contact: Contact; diff --git a/public/docs/_examples/ngmodule/ts/app/contact/contact.component.ts b/public/docs/_examples/ngmodule/ts/app/contact/contact.component.ts index d81eef0c2f..9bf9bc0ee9 100644 --- a/public/docs/_examples/ngmodule/ts/app/contact/contact.component.ts +++ b/public/docs/_examples/ngmodule/ts/app/contact/contact.component.ts @@ -6,10 +6,9 @@ import { Contact, ContactService } from './contact.service'; import { UserService } from '../shared/user.service'; @Component({ - moduleId: module.id, selector: 'app-contact', - templateUrl: 'contact.component.html', - styleUrls: ['contact.component.css'] + templateUrl: 'app/contact/contact.component.html', + styleUrls: ['app/contact/contact.component.css'] }) export class ContactComponent implements OnInit { contact: Contact; diff --git a/public/docs/_examples/ngmodule/ts/app/shared/title.component.ts b/public/docs/_examples/ngmodule/ts/app/shared/title.component.ts index c28eef6281..c3f35b5d32 100644 --- a/public/docs/_examples/ngmodule/ts/app/shared/title.component.ts +++ b/public/docs/_examples/ngmodule/ts/app/shared/title.component.ts @@ -3,9 +3,8 @@ import { Component, Input } from '@angular/core'; import { UserService } from './user.service'; @Component({ - moduleId: module.id, selector: 'app-title', - templateUrl: 'title.component.html', + templateUrl: 'app/shared/title.component.html', }) export class TitleComponent { @Input() subtitle = ''; diff --git a/public/docs/_examples/ngmodule/ts/app/title.component.ts b/public/docs/_examples/ngmodule/ts/app/title.component.ts index cd5a19aad0..0edfd4b468 100644 --- a/public/docs/_examples/ngmodule/ts/app/title.component.ts +++ b/public/docs/_examples/ngmodule/ts/app/title.component.ts @@ -7,9 +7,8 @@ import { UserService } from './user.service'; // #docregion v1 @Component({ - moduleId: module.id, selector: 'app-title', - templateUrl: 'title.component.html', + templateUrl: 'app/title.component.html', }) export class TitleComponent { @Input() subtitle = '';