anchor.diff:        [Forms](../guide/forms.html#ngModel) chapter.
     :marked
       Here's how to import the `FormsModule` to make `[(ngModel)]` available.
  -  +makeExample('template-syntax/ts/app/app.module.1.ts', '', 'app.module.ts (FormsModule import)')
  +  +makeExcerpt('app/app.module.1.ts (FormsModule import)', '')
   
   :marked
     ### Inside `[(ngModel)]`
  
positive.code:   When developing data entry forms, we often want to both display a data property and update that property when the user makes changes.
  
    Two-way data binding with the `NgModel` directive makes that easy. Here's an example:
  +makeExample('template-syntax/ts/app/app.component.html', 'NgModel-1')(format=".")
  
  
  +ifDocsFor('ts|js')
    .callout.is-important
  
negative.code: 
    Now imagine a hosting parent component that binds to the `HeroDetailComponent`'s `deleteRequest` event.
  
  +makeExcerpt('app/app.component.html', 'event-binding-to-component', '')
  
  :marked
    When the `deleteRequest` event fires, Angular calls the parent component's `deleteHero` method,
    passing the *hero-to-delete* (emitted by `HeroDetail`) in the `$event` variable.
  