Problem With Internet Explorer that I do not have in Chrome and Firefox

0

In Internet Explorer it appears to me: Access denied in this scope:

$scope.login = {
  "user": window.localStorage.getItem("username"),
  "check": window.localStorage.getItem("valor"),
  "lingua": window.localStorage.getItem("lingua")
}

This login and a form, you have the ng-model's user, check and language.

Chrome and Firefox do not give me an error.

    
asked by anonymous 15.03.2016 / 18:46

1 answer

0

From what I realized there had to be with the localStorage

I used this plugin: link

It's working. Thanks

    
16.03.2016 / 10:58