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

docs(ngmodule): remove module.id #2064

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
3 changes: 1 addition & 2 deletions public/docs/_examples/ngmodule/ts/app/title.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down