Page 1 of 1

AngularJS and bootstrap Local Storage

Posted: Fri Sep 11, 2015 2:07 am
by jmd2004

How do you save a variable to local storage? can i use a data mapping?


AngularJS and bootstrap Local Storage

Posted: Fri Sep 11, 2015 2:09 pm
by Illya Stepanov

Hi -

Just use JS code:

pre
codelocalStorage.setItem("name", value)/code
/pre

And reference this variable in your project SCOPE.

[quote:]
can i use a data mapping?
[/quote]

No, unfortunately.