How to apply form validation without <form> tag in Angular2
<p>I was wondering if there is a way to validate a form in <strong>Angular 2</strong> without using the <code>form</code> tag? For example below I want to make it a required field</p>

<pre><code>&lt;div class="form-group"&gt;
    &lt;label for="name"&gt;Name&lt;/label&gt;
    &lt;input type="text" class="form-control" id="name"&gt;
&lt;/div&gt;
&lt;button type="button" class="btn btn-default" (click)="save()"&gt;Save&lt;/button&gt;
</code></pre>