title: Object is possibly 'null' in email validation Angular FormControl
body: <p>I get this message when I ng s --aot  <code>Object is possibly 'null'.</code></p>
  
  <p>I've been trying things all morning to fix it, any ideas? The error occurs on the  <code>&lt;mdb-success *ngIf="email.valid &amp;&amp; (email.dirty || email.touched)" class="mt-2"&gt;Email valid&lt;/mdb-success&gt;</code> email.valid, dirty etc objects.</p>
  
  <pre><code> &lt;form class="form-inline md-form form-sm" [formGroup]="validatingForm" (submit)="update(emailInput.value)"&gt;
            &lt;input mdbInput mdbValidate type="email" class="form-control form-control-sm mr-3 w-75" placeholder="Enter user's email" aria-label="Search" formControlName="email" #emailInput required /&gt;
            &lt;button mdbBtn type="button" color="primary" mdbWavesEffect (click)="update(emailInput.value)"&gt;
              &lt;mdb-icon fas icon="search" aria-hidden="true"&gt;&lt;/mdb-icon&gt;
            &lt;/button&gt;
            &lt;mdb-error *ngIf="email.invalid &amp;&amp; (email.dirty || email.touched)" class="mt-2"&gt;Email invalid&lt;/mdb-error&gt;
            &lt;mdb-success *ngIf="email.valid &amp;&amp; (email.dirty || email.touched)" class="mt-2"&gt;Email valid&lt;/mdb-success&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>ts code:</p>
  
  <pre><code> export class UsersComponent implements OnInit {
        validatingForm: FormGroup;
        token: any;
        userDetails: {};
        hasUsers = false;
        emailValue: string;
        constructor(private crudService: CrudService) {}
  
        ngOnInit() {
          this.validatingForm = new FormGroup({
            email: new FormControl("", Validators.email)
          });
          this.loginAsAdmin();
        }
  
        get email() {
          return this.validatingForm.get("email");
        }
  </code></pre>