diff --git a/modules/angular2/src/common/directives/ng_for.ts b/modules/angular2/src/common/directives/ng_for.ts index e601a35c6c..11694b584d 100644 --- a/modules/angular2/src/common/directives/ng_for.ts +++ b/modules/angular2/src/common/directives/ng_for.ts @@ -21,7 +21,7 @@ import {BaseException} from "../../facade/exceptions"; * each instantiated template inherits from the outer context with the given loop variable set * to the current item from the iterable. * - * # Local Variables + * ### Local Variables * * `NgFor` provides several exported values that can be aliased to local variables: * @@ -33,7 +33,7 @@ import {BaseException} from "../../facade/exceptions"; * * `even` will be set to a boolean value indicating whether this item has an even index. * * `odd` will be set to a boolean value indicating whether this item has an odd index. * - * # Change Propagation + * ### Change Propagation * * When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM: * @@ -56,7 +56,7 @@ import {BaseException} from "../../facade/exceptions"; * elements were deleted and all new elements inserted). This is an expensive operation and should * be avoided if possible. * - * # Syntax + * ### Syntax * * - `
  • ...
  • ` * - `
  • ...
  • ` diff --git a/modules/angular2/src/common/directives/ng_switch.ts b/modules/angular2/src/common/directives/ng_switch.ts index 62afe01b60..19a7292db3 100644 --- a/modules/angular2/src/common/directives/ng_switch.ts +++ b/modules/angular2/src/common/directives/ng_switch.ts @@ -21,7 +21,7 @@ export class SwitchView { * `NgSwitch` simply inserts nested elements based on which match expression matches the value * obtained from the evaluated switch expression. In other words, you define a container element * (where you place the directive with a switch expression on the - * **`[ngSwitch]="..."` attribute**), define any inner elements inside of the directive and + * `[ngSwitch]="..."` attribute), define any inner elements inside of the directive and * place a `[ngSwitchWhen]` attribute per element. * * The `ngSwitchWhen` property is used to inform `NgSwitch` which element to display when the diff --git a/modules/angular2/src/common/forms/directives/ng_form_control.ts b/modules/angular2/src/common/forms/directives/ng_form_control.ts index b69d0d9fb5..79cfabc8b9 100644 --- a/modules/angular2/src/common/forms/directives/ng_form_control.ts +++ b/modules/angular2/src/common/forms/directives/ng_form_control.ts @@ -57,7 +57,7 @@ const formControlBinding = * } * ``` * - * ###ngModel + * ### ngModel * * We can also use `ngModel` to bind a domain model to the form. *