diff --git a/modules/angular2/docs/core/01_templates.md b/modules/angular2/docs/core/01_templates.md index 7682be75fc..ebc63a0bd4 100644 --- a/modules/angular2/docs/core/01_templates.md +++ b/modules/angular2/docs/core/01_templates.md @@ -382,20 +382,20 @@ Example of conditionally included template: ``` Hello {{user}}! -
+
...administrator menu here...
``` -In the above example the `if` directive determines whether the child view (an instance of the child template) should be -inserted into the root view. The `if` makes this decision based on if the `isAdministrator` binding is true. +In the above example the `ng-if` directive determines whether the child view (an instance of the child template) should be +inserted into the root view. The `ng-if` makes this decision based on if the `isAdministrator` binding is true. The above example is in the short form, for better clarity let's rewrite it in the canonical form, which is functionally identical. ``` Hello {{user}}! -