X Tutup
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/angular2/src/common/directives/ng_for.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*
Expand All @@ -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:
*
Expand All @@ -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
*
* - `<li *ngFor="#item of items; #i = index">...</li>`
* - `<li template="ngFor #item of items; #i = index">...</li>`
Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/common/directives/ng_switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const formControlBinding =
* }
* ```
*
* ###ngModel
* ### ngModel
*
* We can also use `ngModel` to bind a domain model to the form.
*
Expand Down
X Tutup