docs(ng-if): fix some missed occurrences of if, for, switch in docs

This commit is contained in:
Naomi Black
2015-06-02 08:55:58 -07:00
parent 6a0fe93ba9
commit d32f58926d
3 changed files with 8 additions and 11 deletions

View File

@ -5,9 +5,8 @@ import {isBlank} from 'angular2/src/facade/lang';
/**
* Removes or recreates a portion of the DOM tree based on an {expression}.
*
* If the expression assigned to `if` evaluates to a false value then the element is removed from
* the
* DOM, otherwise a clone of the element is reinserted into the DOM.
* If the expression assigned to `ng-if` evaluates to a false value then the element
* is removed from the DOM, otherwise a clone of the element is reinserted into the DOM.
*
* # Example:
*

View File

@ -179,7 +179,7 @@ export class NgSwitchWhen {
/**
* Defines a default case statement.
*
* Default case statements are displayed when no `NgSwitchWhen` match the `switch` value.
* Default case statements are displayed when no `NgSwitchWhen` match the `ng-switch` value.
*
* Example:
*