Hi Toni,

Have a look at the $destroy event of the scope. If you have something like 
an appscope, ir will receive an $destroy event. (that is for a normal 
shutdown!)
If your app is forced out of existence (browser closed/system 
shutdown/user....), you might want to (h/l)ook into the browser close 
event, and pick that up.
However, I don't know how important your data is. There is no guarantee 
that you even get an close/$destroy event when something happens!

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to