title: How to check if text area is empty or not in angular 2?
body: <p>I have text area box ,I need to check the data when we enter the text in the text area.I written change method but that is not working 
  here is the code.</p>
  
  <pre><code>&lt;textarea (change)="textAreaEmpty(textValue)" #textValue&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>component</p>
  
  <pre><code> textAreaEmpty(text:string){
        if(text.length &gt; 0)
          console.log(text);
    }
  </code></pre>
  
  <p>I also need to check how many rows user entered in the text area.i dint find any solution in anuglar2 ,I am able to get the data with jquery or javascript,but i don't want to use that. i want to use it in angular 2,Can any body help me?</p>