I am following an Angular 4 tutorial about reactive form. While aplying FormGroup and FormControl directives I am finding an inconsistency -
<form [formGroup]="formObj">
<div class="form-group">
<input formControlName="username">
It is applying [formGroup] directive under square-brackets while formControlName directive without square-brackets.
What am I missing here?