docs(ng_control_group): update API docs syntax

Closes #7357
This commit is contained in:
Pascal Precht 2016-03-01 17:53:36 +01:00 committed by Misko Hevery
parent 165357bfa3
commit 9105ab9596
1 changed files with 1 additions and 2 deletions

View File

@ -33,12 +33,11 @@ export const controlGroupProvider: any =
* ```typescript
* @Component({
* selector: 'my-app',
* directives: [FORM_DIRECTIVES],
* template: `
* <div>
* <h2>Angular Control &amp; ControlGroup Example</h2>
* <form #f="ngForm">
* <div ngControlGroup="name" #cg-name="form">
* <div ngControlGroup="name" #cgName="ngForm">
* <h3>Enter your name:</h3>
* <p>First: <input ngControl="first" required></p>
* <p>Middle: <input ngControl="middle"></p>