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

chore: convert templateUrls to use moduleId where possible. #2477

Merged
merged 1 commit into from
Sep 26, 2016
Merged
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 @@ -3,8 +3,9 @@ import { Component, Input } from '@angular/core';
import { Hero } from './hero';

@Component({
moduleId: module.id,
selector: 'hero-detail',
templateUrl: 'app/hero-detail.component.html'
templateUrl: 'hero-detail.component.html'
})
export class HeroDetailComponent {
@Input() hero: Hero;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import { HeroService } from './hero.service';

// #docregion metadata, providers
@Component({
moduleId: module.id,
selector: 'hero-list',
templateUrl: 'app/hero-list.component.html',
providers: [ HeroService ]
templateUrl: 'hero-list.component.html',
providers: [ HeroService ]
})
// #enddocregion providers
// #docregion class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import { Component } from '@angular/core';

@Component({
moduleId: module.id,
selector: 'my-app',
templateUrl: 'app/app.component.html'
templateUrl: 'app.component.html'
})

export class AppComponent { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import { MovieService } from './movie.service';
import { IMovie } from './movie';

@Component({
moduleId: module.id,
selector: 'my-app',
templateUrl: 'app/app.component.html',
styleUrls: ['app/app.component.css'],
providers: [MovieService]
templateUrl: 'app.component.html',
styleUrls: [ 'app.component.css' ],
providers: [ MovieService ]
})
export class AppComponent {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ import { MovieService } from './movie.service';

// #docregion component
@Component({
moduleId: module.id,
selector: 'movie-list',
templateUrl: 'app/movie-list.component.html',
templateUrl: 'movie-list.component.html',
// #enddocregion component
// #docregion style-url
styleUrls: ['app/movie-list.component.css'],
styleUrls: [ 'movie-list.component.css' ],
// #enddocregion style-url
})
// #enddocregion component
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Component } from '@angular/core';

@Component({
moduleId: module.id,
selector: 'my-app',
templateUrl: 'app/app.component.html'
templateUrl: 'app.component.html'
})
export class AppComponent { }
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import { UserContextService } from './user-context.service';
import { UserService } from './user.service';

@Component({
moduleId: module.id,
selector: 'my-app',
templateUrl: 'app/app.component.html',
templateUrl: 'app.component.html',
// #docregion providers
providers: [LoggerService, UserContextService, UserService]
providers: [ LoggerService, UserContextService, UserService ]
// #enddocregion providers
})
export class AppComponent {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions public/docs/_examples/cb-dynamic-form-deprecated/ts/index.html

This file was deleted.

This file was deleted.

This file was deleted.

Loading