docs(common): fix ngIf example (#13496)

This commit is contained in:
Trotyl Yu 2016-12-16 05:07:36 +08:00 committed by Chuck Jazdzewski
parent f0e092515c
commit 732f446ad2
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ import {Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef} from '
* Simple form:
* - `<div *ngIf="condition">...</div>`
* - `<div template="ngIf condition">...</div>`
* - `<ng-container [ngIf]="condition"><div>...</div></ng-container>`
* - `<template [ngIf]="condition"><div>...</div></template>`
*
* Form with an else block:
* ```