docs(aio): rename cb- files and a few others

This commit is contained in:
Ward Bell
2017-04-21 17:21:45 -07:00
committed by Pete Bacon Darwin
parent c3fa8803d3
commit 93516ea8a1
543 changed files with 467 additions and 510 deletions

View File

@ -0,0 +1,2 @@
<!-- #docregion -->
<toh-hero-button></toh-hero-button>

View File

@ -0,0 +1,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'sg-app',
templateUrl: './app.component.html'
})
export class AppComponent { }

View File

@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { AppComponent } from './app.component';
import { HeroButtonComponent } from './heroes';
@NgModule({
imports: [
RouterModule.forChild([{ path: '05-02', component: AppComponent }])
],
declarations: [
AppComponent,
HeroButtonComponent
],
exports: [ AppComponent ]
})
export class AppModule {}

View File

@ -0,0 +1 @@
export * from './shared';

View File

@ -0,0 +1,11 @@
// #docplaster
import { Component } from '@angular/core';
// #docregion example
/* avoid */
@Component({
selector: 'tohHeroButton',
templateUrl: './hero-button.component.html'
})
export class HeroButtonComponent {}
// #enddocregion example

View File

@ -0,0 +1 @@
<button class="hero-button">Hero button</button>

View File

@ -0,0 +1,9 @@
import { Component } from '@angular/core';
// #docregion example
@Component({
selector: 'toh-hero-button',
templateUrl: './hero-button.component.html'
})
export class HeroButtonComponent {}
// #enddocregion example

View File

@ -0,0 +1 @@
export * from './hero-button.component';

View File

@ -0,0 +1 @@
export * from './hero-button';

View File

@ -0,0 +1,2 @@
export * from './heroes';
export * from './app.component';