I am creating a form in Angular 2. My goal is to get data from the API and pass it into the form for editing purposes. However, I am running into this error:
Problem is that your form is null on the beginning.
And only on ng init you will get patient and then create it. You should initialize your form on the begining or