From 32d8cde9c6bfbe5cdc8f341209e37838f25ca24b Mon Sep 17 00:00:00 2001 From: Cole R Lawrence Date: Mon, 18 Jul 2016 12:24:55 -0500 Subject: [PATCH] docs(NgSwitch): fix typo ngSwitch to NgSwitch (#10143) --- modules/@angular/common/src/directives/ng_switch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/@angular/common/src/directives/ng_switch.ts b/modules/@angular/common/src/directives/ng_switch.ts index 2d4cb36cd3..c193206539 100644 --- a/modules/@angular/common/src/directives/ng_switch.ts +++ b/modules/@angular/common/src/directives/ng_switch.ts @@ -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 { * *

* `, - * directives: [NgSwitch, ngSwitchCase, NgSwitchDefault] + * directives: [NgSwitch, NgSwitchCase, NgSwitchDefault] * }) * export class App { * value = 'init';