doc(form): updating example to avoid "TypeError: Converting circular structure to JSON" (#10184)

This commit is contained in:
John Lindquist 2016-08-25 12:12:40 -06:00 committed by Victor Berchet
parent cc79dcac7f
commit 6ef7a76e39
1 changed files with 2 additions and 2 deletions

View File

@ -39,12 +39,12 @@ export const modelGroupProvider: any = {
* <p>Last: <input name="last" ngModel required></p>
* </div>
* <h3>Name value:</h3>
* <pre>{{ mgName | json }}</pre>
* <pre>{{ mgName.value | json }}</pre>
* <p>Name is {{mgName?.valid ? "valid" : "invalid"}}</p>
* <h3>What's your favorite food?</h3>
* <p><input name="food" ngModel></p>
* <h3>Form value</h3>
* <pre>{{ f | json }}</pre>
* <pre>{{ f.value | json }}</pre>
* </form>
* </div>
* `