Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Problem to inject $localStorage linked to window? #80

Closed
blondinh opened this issue Apr 18, 2016 · 3 comments
Closed

Problem to inject $localStorage linked to window? #80

blondinh opened this issue Apr 18, 2016 · 3 comments

Comments

@blondinh
Copy link

blondinh commented Apr 18, 2016

Hello,

In debug window of Chrome i have window is not defined when I try to inject $locaStorage.
It refers to folder angular2/src/facade/browser.js

Please could you provide some informations?

@PatrickJS
Copy link
Contributor

$locaStorage doesn't exist but we can make one in Universal for you to use

@blondinh
Copy link
Author

blondinh commented Apr 20, 2016

Yes, please! How can I access the window elements in universal-starter? I need to collect the display size, to store datas in the tab and store datas in the browser.

@jeffwhelpley
Copy link

You can create this yourself, but we will eventually have some services to cover this:

angular/universal#309

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants