Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 787ca16

Browse files
Foxandxsswardbell
authored andcommitted
docs(ngmodule): remove module.id
closes #2064
1 parent 38a59f9 commit 787ca16

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

public/docs/_examples/ngmodule/ts/app/contact/contact.component.3.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import { Contact, ContactService } from './contact.service';
55
import { UserService } from '../user.service';
66

77
@Component({
8-
moduleId: module.id,
98
selector: 'app-contact',
10-
templateUrl: 'contact.component.html',
11-
styleUrls: ['contact.component.css']
9+
templateUrl: 'app/contact/contact.component.html',
10+
styleUrls: ['app/contact/contact.component.css']
1211
})
1312
export class ContactComponent implements OnInit {
1413
contact: Contact;

public/docs/_examples/ngmodule/ts/app/contact/contact.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import { Contact, ContactService } from './contact.service';
66
import { UserService } from '../shared/user.service';
77

88
@Component({
9-
moduleId: module.id,
109
selector: 'app-contact',
11-
templateUrl: 'contact.component.html',
12-
styleUrls: ['contact.component.css']
10+
templateUrl: 'app/contact/contact.component.html',
11+
styleUrls: ['app/contact/contact.component.css']
1312
})
1413
export class ContactComponent implements OnInit {
1514
contact: Contact;

public/docs/_examples/ngmodule/ts/app/shared/title.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import { Component, Input } from '@angular/core';
33
import { UserService } from './user.service';
44

55
@Component({
6-
moduleId: module.id,
76
selector: 'app-title',
8-
templateUrl: 'title.component.html',
7+
templateUrl: 'app/shared/title.component.html',
98
})
109
export class TitleComponent {
1110
@Input() subtitle = '';

public/docs/_examples/ngmodule/ts/app/title.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ import { UserService } from './user.service';
77
// #docregion v1
88

99
@Component({
10-
moduleId: module.id,
1110
selector: 'app-title',
12-
templateUrl: 'title.component.html',
11+
templateUrl: 'app/title.component.html',
1312
})
1413
export class TitleComponent {
1514
@Input() subtitle = '';

0 commit comments

Comments
 (0)