fix #173 where unsaved changes is caused by angular agility