build(aio): change examples to CLI (#19248)

PR Close #19248
This commit is contained in:
Jesus Rodriguez
2017-08-22 21:31:15 +02:00
committed by Igor Minar
parent 344a5ca545
commit 9bbf009dff
377 changed files with 2339 additions and 1748 deletions

View File

@ -3,7 +3,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
selector: 'app-root',
// #docregion template
template: `
<h1>Angular Router</h1>

View File

@ -3,7 +3,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
selector: 'app-root',
template: `
<h1>Angular Router</h1>
<nav>

View File

@ -4,7 +4,7 @@ import { Component } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'my-app',
selector: 'app-root',
/* Typical link
// #docregion h-anchor
<a [routerLink]="['/heroes']">Heroes</a>

View File

@ -2,7 +2,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
selector: 'app-root',
// #docregion template
template: `
<h1 class="title">Angular Router</h1>

View File

@ -2,7 +2,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
selector: 'app-root',
// #docregion template
template: `
<h1 class="title">Angular Router</h1>

View File

@ -3,7 +3,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
selector: 'app-root',
// #docregion template
template: `
<h1 class="title">Angular Router</h1>

View File

@ -3,7 +3,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
selector: 'app-root',
// #docregion template
template: `
<h1 class="title">Angular Router</h1>