Looking to reset the form state from dirty/touched in angular?
I am currently delving into the world of angular2 and working on a form with validation.
In my journey, I came across this code snippet:
<form *ngIf="booleanFlag">..</form>
This supposedly resets the form state. However, I have heard that there might be a better solution out there. Can someone please point me in the right direction?