Angular unsaved changes guard. Normally I would use window. Hey there tech enthusi...