Angularアプリを起動すると、コンポーネントが表示されていなくても、次のエラーが発生します。
<input>アプリが機能するようにコメントアウトする必要があります。
zone.js:461 Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("
   <div>
      <label>Created:</label>
      <input  type="text" [ERROR ->][(ngModel)]="test" placeholder="foo" />
   </div>
</div>"): InterventionDetails@4:28 ; Zone: <root> ; Task: Promise.then ; Value: 私はヒーロープランカーを見ていますが、コードとの違いはありません。
コンポーネントファイルは次のとおりです。
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Intervention } from '../../model/intervention';
@Component({
   selector: 'intervention-details',
   templateUrl: 'app/intervention/details/intervention.details.html',
   styleUrls: ['app/intervention/details/intervention.details.css']
})
export class InterventionDetails
{
   @Input() intervention: Intervention;
   public test : string = "toto";
}


