If there is a ngForm, set it pristine initially.

Close #361