Anyone know why my scope variables aren\'t being updated? It\'s mind boggling to me. The sessionStorage variables are fine but when I define them within scope variables.. I get
Nowadays angularjs don't have the JSON.stringify just assign the $scope values in sessionStorage
$sessionStorage.user = $scope.user;
For Detailed documentation on $sessionStorage service
AngularJS - $sessionStorage by Scriptwerx is a service for use in your AngularJS applications.
npm install --save-dev angular-swx-session-storage