What is ViewChild in Angular2?
<p>From the official <a href="https://angular.io/docs/js/latest/api/core/ViewChild-var.html">documentation</a>. A <code>ViewChild</code>:</p>

<pre><code>Configures a view query.

View queries are set before the ngAfterViewInit callback is called.
</code></pre>

<p>The explanation is very minimal and I still don't quite understand what is it used for.</p>

<p>Consider this <a href="https://plnkr.co/edit/78FjnOGEjE0g48JV1ebw?p=preview">example</a> from a blog I found.</p>

<p>Taking away the <code>@ViewChild(TodoInputCmp)</code> have no effect on the code inside <code>TodoInputCmp</code></p>

<p>Can someone give me some insight?</p>

<p>Thanks</p>