Created
September 1, 2017 02:19
-
-
Save alexonozor/e7f62fd1659d86a919f04668f30815c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FormControl, FormGroup } from '@angular/forms'; // notice we also import FormGroup | |
export class UsersComponent { | |
userForm = new FormGroup ({ | |
userName: new FormControl() | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment