Detecting if the value being stored is an object. using angular's fronJson and toJson methods to parse it.
This saves the user from having to call the stringyfyJson() and parseJson() before getting and setting to the local storage. Those functions can also be now ported over to use angular.toJson and angular.fromJson(). That change is not included in this commit.dev
parent
45eb25cea9
commit
bd5bc4a4ae
Reference in New Issue