The code in question is below, on the iPad (2 if that matters to anyone), I get the error DOM Exception 22, which from my research is exceeding the quote of space when adding values.
Here's where it gets interesting. In standard browsing mode on Safari, I get the error. However, when I switched to private mode NOTHING! The code is good, it works on every other device I've tested and all browsers. I thought by default storage was off in private mode but for some reason that's the only way the code is valid for me. Any tips?
.success(function (data){
.console.log(data);
sessionStorage.setItem('token', data.access_token);
sessionStorage.setItem('userName', data.userName);