0
In Internet Explorer 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 is a form, you have the ng-model’s user, check and language.
In Chrome and Firefox gives me no error.
Which version of IE? which error appears?
– Vinicius Zaramella
Version 11 error is: Access denied and indicates me the line of code above typed
– Guilherme Patriarca
The error may be in your IE settings, it may not be allowing the site to use localStorage.
– Vinicius Zaramella
The
IE
is a mistake– deFreitas
As I realized it had to do with localStorage I used this plugin: https://github.com/grevory/angular-local-storage It Worked Out. Thank you
– Guilherme Patriarca