Glossary: Angular Beyond the Basics
dirty / pristine
Also written: dirty, pristine, markAsPristine
Form states: `dirty` means the user changed a value, `pristine` means unchanged. `markAsPristine()` resets it after a save so the leave-page guard stays quiet.