Martin Martin - 1 month ago 7
AngularJS Question

AngularJS LocalStorage in local files

I want to know if it is possible to save values into the local storage of Edge, if all files are only locally (file://...)?

I didn't managed to replicate the results of this plnkr in a local file, but it is working online excellent in the plnkr.

http://plnkr.co/edit/3vfRkvG7R9DgQxtWbGHz?p=preview

$scope.$storage = $localStorage.$default({
x: 42
});


Any suggestions?

Answer

I managed to due it great in Google Chrome and Firefox, it seems to be only a Edge problem.

Comments