docs(NgSwitch): fix typo ngSwitch to NgSwitch (#10143)

This commit is contained in:
Cole R Lawrence 2016-07-18 12:24:55 -05:00 committed by Victor Berchet
parent 1803ed2512
commit 32d8cde9c6
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ export class SwitchView {
/**
* Adds or removes DOM sub-trees when their match expressions match the switch expression.
*
* Elements within `NgSwitch` but without `ngSwitchCase` or `NgSwitchDefault` directives will be
* Elements within `NgSwitch` but without `NgSwitchCase` or `NgSwitchDefault` directives will be
* preserved at the location as specified in the template.
*
* `NgSwitch` simply inserts nested elements based on which match expression matches the value
@ -68,7 +68,7 @@ export class SwitchView {
* <template ngSwitchDefault>&gt; 2, STOP!</template>
* </p>
* `,
* directives: [NgSwitch, ngSwitchCase, NgSwitchDefault]
* directives: [NgSwitch, NgSwitchCase, NgSwitchDefault]
* })
* export class App {
* value = 'init';