title: Property 'value' does not exist on type 'ElementRef'
body: <p>I have tried to set the value of <code>#name1</code> as shown below.But it shows compile time error as shown below.Can you please tell me how to set the value for the <code>text</code> component? Here I'm using one-way data bind and template-driven approach.</p>
  
  <blockquote>
    <p>[ts] Property 'value' does not exist on type 'ElementRef'.</p>
  </blockquote>
  
  <p><strong>.html</strong></p>
  
  <pre><code>&lt;ion-input type="text" name="{{question?.name}}" #name1="ngModel" ngModel&gt; &lt;/ion-input&gt;
  </code></pre>
  
  <p><strong>.ts</strong></p>
  
  <pre><code>  @ViewChild('name1') name1: ElementRef;
  
    constructor(){
  
     }
  
   getAnswer(){
       this.name1.value = 'Hello';//here it shows the above error
    }
  </code></pre>