Angular cross-browser, localStorage/Cookie/UserData implementatio