File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/angular2/src/directives Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import {isPresent, isBlank} from 'angular2/src/facade/lang';
3737 *
3838 * - `<li *ng-for="#item of items; #i = index">...</li>`
3939 * - `<li template="ng-for #item of items; #i = index">...</li>`
40- * - `<template [ ng-for] #item [ng-for-of]="items" #i="index"><li>...</li></template>`
40+ * - `<template ng-for #item [ng-for-of]="items" #i="index"><li>...</li></template>`
4141 *
4242 * @exportedAs angular2/directives
4343 */
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export class SwitchView {
3838 * <ANY [ng-switch]="expression">
3939 * <template [ng-switch-when]="whenExpression1">...</template>
4040 * <template [ng-switch-when]="whenExpression1">...</template>
41- * <template [ ng-switch-default] >...</template>
41+ * <template ng-switch-default>...</template>
4242 * </ANY>
4343 * ```
4444 *
@@ -148,7 +148,7 @@ export class NgSwitch {
148148 * <template [ng-switch-when]="contextVariable">...</template>
149149 *
150150 * // match against a constant string
151- * <template [ ng-switch-when]="' stringValue' ">...</template>
151+ * <template ng-switch-when=" stringValue">...</template>
152152 * ```
153153 *
154154 * @exportedAs angular2/directives
@@ -184,7 +184,7 @@ export class NgSwitchWhen {
184184 * Example:
185185 *
186186 * ```
187- * <template [ ng-switch-default] >...</template>
187+ * <template ng-switch-default>...</template>
188188 * ```
189189 *
190190 * @exportedAs angular2/directives
You can’t perform that action at this time.
0 commit comments