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
You need to serialize your user object to JSON before storing on sessionStorage, because it is implemented as a collection of string values.
Try something like this
sessionStorage.user = JSON.stringify($scope.user);
and then
$scope.user = JSON.parse(sessionStorage.user);