Service for uniquely identifying a browser window. Persists beyond window refresh. You can use it without Angular as well.
First, add this module to your application:
angular.module('myApp', ['angularUniqueWindow'])
Creates a unique token for your browser window that will persist after a reload if it doesn't already exist.
Returns the saved token.
Regenerates the token.