when we do refresh or browser close $window.onbeforunload is getting called but not able differentiate between the both. (Trying to crack it from 2 weeks but not able to do it)
-- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/540e4dc7-4161-41fc-b7fe-82d17abbf1b6%40googlegroups.com.