title: How to create component that can support ngModel and ngControl directives
body: <p>To get access to NgControl in my component I create constructor:</p>
  
  <pre><code>NgControl _cd;
  MyDateEditComponent(@Self() @Optional() this._cd);
  </code></pre>
  
  <p>I want use my component like this:</p>
  
  <pre><code>&lt;my-date-edit [(ngModel)]="date" ngControl="date"&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;my-date-edit [(date)]="date" ngControl="date"&gt;
  </code></pre>
  
  <p>Now I have error:</p>
  
  <p><em>Assertion failed: "No value accessor for (date) or you may be missing formDirectives in your directives list."</em></p>
  
  <p>How to fix it?</p>