Text input are working properly. I used same for file but its not working.
<input type="text" name="title" #title="ngModel" ngModel required class="form-control" placeholder="Title Here">
<div *ngIf="title.errors && (title.dirty || title.touched)">
<span class="help-block error" [hidden]="!title.errors.required"> Title
is Required
</span>
</div>
<input type="file" #image="ngModel" (change)="fileEvent($event)"
name="image" ngModel>